Commit graph

57 commits

Author SHA1 Message Date
Harm te Molder
d326aa747e Use Font Awesome instead of Fork Awesome 2024-11-05 10:28:30 +01:00
Daniel Holbach
b88d13e7f0 Add combine_page_and_site_title option
If true, it will e.g. change the title tag for the Legal page to
<title>Legal | Jane Doe - Nutrition Coach & Chef Consultant</title>

Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-10-06 20:51:29 +02:00
Daniel Holbach
be2014bf8c Rename config.toml to hugo.toml
Fixes: #191

Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-08-14 18:52:26 +02:00
Daniel Holbach
6264a749df fix typos, make markdownlint happy
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-07-11 09:23:53 +02:00
Kostas Chatzikokolakis
b411ea2f0a Improve automatic scaling of cover image 2024-07-09 01:35:26 +02:00
Kostas Chatzikokolakis
53fce9bcd6 Fix link in german legal-brief.md
German legal-brief.md should link to /de/legal/
2024-06-14 21:12:51 +02:00
Joe Mooring
b5c6238a1b layouts: Use Permalink instead of RelPermalink
Addresses upstream multihost bug:
https://github.com/gohugoio/hugo/issues/12560

Closes #185
2024-06-01 20:21:03 +02:00
Filippo Fontana
e13ca197b8
Add support emojis (#184)
* layout, index: render markdown emoji in section titles
* exampleSite, config: enable emoji rendering in markdown files
2024-06-01 20:18:05 +02:00
Ilja
4191af692f
Multi-language, i18n (#177)
* language menu
* allow for subdir in baseURL
* Update netlify.toml and github actions to use Hugo 0.121.1
* Documented i18n approaches in exampleSite
* Attempted & Abandoned images from assets as recommended approach in content pages- it seems Hugo expects to access those only programmatically, not via markdown.

---------

Co-authored-by: Zdenek K <zdenek.kedaj@gmail.com>
2024-05-19 22:41:12 +02:00
Daniel Holbach
9e4ffcda5e Spellcheck and linter fixes
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-03-19 21:56:07 +01:00
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
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
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
spi
9e20c65ad8
List icon configurable (#152)
List icon made configurable by introducing ul-li-icon CSS variable
2023-10-04 21:06:10 +02:00
Zdenek K
7218bf7a35 Cover video - exampleSite 2023-04-05 21:56:07 +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 K
447d237e03 revert comment in custom_head 2023-04-04 21:51:06 +02:00
Zdenek K
162234fa25 overriding CSS variables documented
Updated readme, exampleSite, renamed colors.scss to variables.scss
2023-04-04 21:44:30 +02:00
Zdenek K
5aa561ab8a CSS variable names harmonized and extended 2023-04-02 22:23:13 +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
67c8ca2987 Updated promo image, minor changes in .md files 2023-04-01 00:47:53 +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
zjedi
ef8fe58eed extlink with icon - exampleSite 2023-03-29 23:25:27 +02:00
P. Ottlinger
9714cd7eb7
#126: Update config.toml to show a version info can be added
By default the version info is disabled.
2023-03-28 22:50:36 +02:00
P. Ottlinger
4dd2200396
Correct external link to lead to project itself
If one hits the button it should help you to find the project itself, instead of linking to GH base page.
2023-03-27 20:41:51 +02:00
P. Ottlinger
a526199cf6
https://github.com/zjedi/hugo-scroll/issues/120 Update docs about plain HTML in footer
Update base configuration docs about possibility to use plain HTML in your footer copyright variable.
2023-03-26 22:36:54 +02:00
zjedi
d6aa708294 exampleSite feature documentation 2023-03-22 00:51:54 +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
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
vcutrona
72c81c767c
Update config.toml
Move params.meta to the end, otherwise copyright and hidedesignbyline will fall under the same section
2023-03-20 16:03:13 +01:00
zjedi
7f5462eefb Header logo - documented, added to example site, CSS fixed 2023-03-14 22:22:58 +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
Frank Riccobono
2bb8fa32fb use recommended style for fontawesom lists 2023-03-11 10:42:38 -05:00
Jesper Kolbeck
a28a76767a Rename title overwrite properties to header_menu_title and navigation_menu_title 2022-02-06 18:15:49 +01:00
Jesper Kolbeck
b8e0f89eb0 Make it possible to have a short menu and button name 2021-12-08 21:54:55 +01:00
Jan Raasch
9046dd41c8 style: add whitespace 2020-09-21 14:09:26 +02:00
Jan Raasch
bde8291944 feat: add "icon"-shortcode 2020-09-21 13:52:32 +02:00
Jan Raasch
848f6129ec style: add & run prettier 2020-09-09 18:00:59 +02:00
Jan Raasch
30fe331123 style: use "tel:"-prefix for phone number link 2020-09-09 17:35:01 +02:00
Jan Raasch
1364c13566 style: fix typo 2020-09-09 15:57:02 +02:00
Jan Raasch
4c4b37ae76 docs: add »branding«-section to README
This came up quite a lot :-)

* https://github.com/janraasch/hugo-scroll/issues/4
* https://github.com/janraasch/hugo-scroll/issues/2
* https://github.com/janraasch/hugo-scroll/issues/1
2020-08-25 07:03:48 +02:00
Jan Raasch
fdcb6abc33 refactor(exampleSite/config.toml): remove themesDir-config
This config confuses people, see https://github.com/janraasch/hugo-scroll/issues/2
2020-08-16 12:29:13 +02:00