Commit graph

20 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Jan Raasch
0eb23bf5c8 chore: do not use / in the beginning of a URL
Otherwise this does not work, if the baseURL has a subfolder in there, e.g.

https://janraasch.github.io/hugo-scroll/

See https://github.com/gohugoio/hugoThemes#common-permalink-issues
2020-07-09 11:21:57 +02:00
Jan Raasch
7defcb60fd feat: markdownify copyright-line 2020-07-08 19:26:00 +02:00
Jan Raasch
b05ff4eb22 chore: initial commit 2020-07-07 17:50:41 +02:00