Commit graph

75 commits

Author SHA1 Message Date
Filippo Fontana
1dbb750bc0 Fix #173: tel: link is now handled correctly by Hugo
The `safeURL` function is required to insert URLs that are different
than `http:`, `https:` and `mailto:` (e.g. `tel:`) through the Hugo
templating system.

Additionally, an example about how to add new contacts is added in the
`config.toml` of `exampleSite`.

Signed-off-by: Filippo Fontana <filippofontana1998@gmail.com>
2024-03-17 12:31:44 +01:00
Filippo Fontana
eeba87cc3d Center contact icons in the footer
This commit changes the way contact icons are displayed in the footer:
instead of using <li> tags which inherit a 30px left margin, they are
now just simple <a> tags handled by flex to center them.

The new style rules are added to the `.icons` class in
`assets/css/theme.scss`.

Signed-off-by: Filippo Fontana <filippofontana1998@gmail.com>
2024-03-11 17:18:01 +01:00
Filippo Fontana
69acce5ec7 Handle website contacts dynamically
This commits change the way contacts params are handled: instead of
declaring them statically, they are declared as an array of tables in
the TOML configuration file, then they are displayed in the two sections
(homepage and footer) of the website through the {{ range }} statement.

This makes handling multiple contacts params easier and avoids the
need of changing manually this two files:
- `layouts/partials/footer.html`;
- `exampleSite/content/homepage/contact.md`;

Signed-off-by: Filippo Fontana <filippofontana1998@gmail.com>
2024-03-10 22:29:58 +01:00
Daniel Holbach
1a2693cc15 add an option to add links at the bottom of the page as well
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-02-19 19:20:46 +01:00
Daniel Holbach
f1d65eeccb
Define contact information in params, add to footer of the page (#166)
contact icons in footer, opt-in via parameter
2023-12-23 19:08:45 +01:00
Daniel Holbach
37d24211ce
ensure there's a title for each piece of content (#165)
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2023-12-23 00:03:28 +01:00
Daniel Holbach
97cec6269d
logo: add alternate text (#164)
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2023-12-23 00:01:23 +01:00
spi
5b4c79e689
Link to dedicated page from site head (#158)
- dedicated pages can be linked from landing area
- briefer version of that page can be included on the singe-page content
2023-10-14 15:23:18 +02:00
spi
c547893371
Return to top menu item (#156)
Opt-in "Return To Top" navigation menu entry, implements #154
2023-10-04 21:15:55 +02:00
Ferdinand Thiessen
2d2190f8f0 Only use jQuery animate if native smooth scrolling is not supported
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-10 00:13:27 +02:00
schnusch
ca1b4954fc Remove unnecessary javascript code and replace with hugo template code 2023-04-08 19:59:14 +02:00
Zdenek K
6f7f95f181 Cover video - initial transplant
Transplanted cover video feature from fork of @thomasjungblut and adapted to latest hugo scroll code

Co-Authored-By: Thomas Jungblut <thomas.jungblut@gmail.com>
2023-04-05 21:34:45 +02:00
Zdenek Kedaj
f4ac2a0612 CSS refactor - Extracted generic.css from screen.css
Co-Authored-By: Ferdinand Thiessen <1855448+susnux@users.noreply.github.com>
2023-04-02 00:46:06 +02:00
zjedi
dd852157f1
Merge pull request #129 from ottlinger/patch-5
Add ability to reference icons in external links
2023-03-30 12:36:54 +02:00
P. Ottlinger
425293f1b7
Add icons to external links 2023-03-29 21:48:13 +02:00
P. Ottlinger
192b6d361e
#126: Update footer.html to contain version information
Format and extract version information from GitInfo - 
uncommitted pages generate a bogus date.
2023-03-29 21:21:11 +02:00
P. Ottlinger
6d4b5c8df4
#126: Remove empty section from generated markup 2023-03-29 21:19:43 +02:00
P. Ottlinger
ab6c1b393b
Update footer.html
Add rel=noopener to try to fix security warning.
2023-03-26 23:18:07 +02:00
P. Ottlinger
41e9f9588c
Update footer.html to always open link to hugo-scroll in new window
Modify footer to always open link to this repo in a new tab.
2023-03-26 22:13:49 +02:00
zjedi
7954c690a4 - fix: remove visual arrow from foooter.
- Single-page navigation URL uses navigation_menu_title if available
2023-03-23 18:01:14 +01:00
zjedi
6bc232a50d Merge remote-tracking branch 'origin/master' into pr/45
# Conflicts:
#	layouts/index.html
2023-03-22 00:27:16 +01:00
Ian Cook
147b87c3de
Swap "odd" and "even" for "dark" and "light" classes 2023-03-21 10:13:01 -05:00
Ian Cook
104cb84570
Change "invert" Param to "invertSectionColors" 2023-03-21 10:12:20 -05:00
Ian Cook
390ad61694
Enable inverting homepage section styling
Add invert Param to the config file. Add the 'odd' class to the
post-holders and the 'even' class to the post-afters using Hugo if
statements instead of using JS. Marking invert = true in the config file
flips which sections are marked odd and even.
2023-03-20 19:45:44 -05:00
zjedi
5ba5542aee Merge remote-tracking branch 'origin/master' into pr/45
# Conflicts:
#	layouts/index.html
2023-03-21 01:04:40 +01:00
zjedi
b8fdafcc14 Merge branch 'master' into pr/45 2023-03-21 00:52:42 +01:00
zjedi
4902a83bfd safeHTML used for header, footer and content titles 2023-03-21 00:30:33 +01:00
zjedi
cbed08621d Tranferring repository ownership 2023-03-18 20:56:52 +01:00
zjedi
7f5462eefb Header logo - documented, added to example site, CSS fixed 2023-03-14 22:22:58 +01:00
zjedi
0e17f0b7b7 Merge remote-tracking branch 'origin/master' into pr/73
# Conflicts:
#	layouts/index.html
2023-03-14 18:20:04 +01:00
zjedi
6d688fb013 title color tuned and new feature title_guard: When set true, it creates a visual guard (partially transparent rounded box), preventing non-ideal background images from interfering with title/description headings 2023-03-12 01:46:59 +01:00
zjedi
a3c7cb214e - documented external links usage
- copied forawesome 1.2
- updated readme & contribution guideline
2023-03-11 22:46:22 +01:00
zjedi
81ee00262f
Merge pull request #66 from githubmonkey/rawhtml-support
rawhtml shortcode  for injecting custom, complex html into pages, such as iframe etc
2023-03-11 16:03:55 +01:00
zjedi
4f61fb73ff
Merge pull request #65 from githubmonkey/minor-polishes
Add safeHTML to blog-title, allowing <br/> in the title
2023-03-11 16:00:24 +01:00
zjedi
ef2430ab16 Merge branch 'master' into pr/81 2023-03-09 23:57:43 +01:00
zjedi
8c88d93bfa
Merge pull request #101 from zjedi/master
external links - extlink shortcode allow opening links in new browser tab
2023-03-08 22:57:45 +01:00
zjedi
ab58531f0e
Update layouts/partials/head.html, with charset=UTF-8 2023-03-08 19:48:02 +01:00
Oliver Obst
719943ad30
Merge branch 'janraasch:master' into hugo-scrollex 2023-03-08 15:57:59 +11:00
Zdenek Kedaj
930da671a3 Merge remote-tracking branch 'origin/master' 2023-03-07 22:54:47 +01:00
Oliver Obst
a59eb2f896 added support for external links in main menu 2023-03-04 18:45:17 +11:00
Patrick Favre-Bulle
0080c4131a
Fix HTML validator errors 2023-02-26 23:40:18 +01:00
Zdenek Kedaj
b04a7133b5 Merge remote-tracking branch 'origin/master' 2023-02-26 20:54:41 +01:00
Ferdinand Thiessen
a8f0e18f56 Add icon on defaul single view infront of back-to-homepage link
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-26 18:17:08 +01:00
Patrick Favre-Bulle
5cab7a6ec8
Update jquery to 3.6.3 2022-12-30 16:13:40 +01:00
Patrick Favre-Bulle
05a5159112
Add lang attribute in themen 2022-12-30 01:41:37 +01:00
Patrick Favre-Bulle
0e9b40d891
Remove unnecessary stylesheet import in theme 2022-12-30 01:09:48 +01:00
Patrick Favre-Bulle
b2f3cef507
Include fork awesome into css bundle 2022-12-30 00:44:59 +01:00
Patrick Favre-Bulle
6802a82d0d
add asset bundling, cache busting and fingerprinting to css and js 2022-12-29 23:23:24 +01:00
Zdenek Kedaj
71a24464c0 extlink.html shortcode allow opening links in new browser tab 2022-10-01 23:43:09 +02:00
Martijn van der Kooij
db200dea51 MK: Added logo image to homepage, just above the title 2022-09-25 22:16:42 +02:00