Commit graph

265 commits

Author SHA1 Message Date
dependabot[bot]
54f7b8543f chore(deps-dev): bump prettier from 2.8.7 to 3.5.3
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 3.5.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...3.5.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 00:37:30 +02:00
Thijs Kroesbergen
86569bb78d Use relLangURL for detailed page path in navigation 2025-06-05 00:07:43 +02:00
Mark Collins
8f5fd6e996 Fix #header-arrow css for high zoom 2025-06-05 00:05:30 +02:00
Daniel Holbach
811e1f2b54 Fix language menu in multihost setting
#196 added the flexibility to index.html to be used in subdirectories.

	Unfortunately this broke the language menu in multihost settings.
	Both functionalities are made to work now by checking the
	`hugo.IsMultihost` condition.

	This makes the code somewhat harder to read, but at least ensures
	that the regression is fixed.

	Fixes: #214

Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2025-03-27 22:21:07 +01:00
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
ae3f16bd93 Use css.Sass instead of resources.ToCSS
WARN  deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.

Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-09-16 01:11:15 +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
a20a2ff6cd Skip the top menu when scrolling on small screens 2024-07-10 18:49:04 +02:00
Kostas Chatzikokolakis
8bc71355a6 Allow per-page customization of description/keywords 2024-07-09 01:36:32 +02:00
Kostas Chatzikokolakis
b411ea2f0a Improve automatic scaling of cover image 2024-07-09 01:35:26 +02:00
Kostas Chatzikokolakis
d92da3689a Allow rendering subdirectories as scrolling pages 2024-07-05 21:29:47 +02:00
Jasper Schellingerhout
94a56ac555 Wrap fork-awesome in <i> instead of <icon> 2024-07-04 22:20:34 +02:00
Jeffrey N
807c028d71 Add head tag to pages 2024-06-27 07:56:25 +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
Mark Niemeyer
e00ab80692 change id of back button on single pages
prev. the css of blog-logo was applied
2024-06-12 00:11:58 +02:00
Joe Mooring
a43bb4ea6d Improve language switcher to work reliably in single- and multi-host settings
Thanks a lot @jmooring
	https://discourse.gohugo.io/t/multihost-trouble/50103/10

Authored-by: Joe Mooring <joe.mooring@veriphor.com>
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-06-03 21:06:54 +02:00
Daniel Holbach
33337a69ea use urls.AbsLangURL if hugo.IsMultihost
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-06-02 00:02:16 +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
dependabot[bot]
a1772f49e4 chore(deps): bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.3 to 4.0.0.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.3...v4.0.0)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 09:28:42 +02:00
dependabot[bot]
c8d6fbbfc8 chore(deps): bump peaceiris/actions-hugo from 2.6.0 to 3.0.0
Bumps [peaceiris/actions-hugo](https://github.com/peaceiris/actions-hugo) from 2.6.0 to 3.0.0.
- [Release notes](https://github.com/peaceiris/actions-hugo/releases)
- [Changelog](https://github.com/peaceiris/actions-hugo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-hugo/compare/v2.6.0...v3.0.0)

---
updated-dependencies:
- dependency-name: peaceiris/actions-hugo
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 21:53:10 +02:00
Zdenek K
628147b53f #162 Scroll to top - attempted fix 2024-04-01 22:09:28 +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
Ilja Radusch
d336a31c1e allow for subdir in baseURL 2024-03-17 23:12:50 +01:00
Filippo Fontana
3048ba2968 Fix #173: handle tel: link correctly also in contact section
Signed-off-by: Filippo Fontana <filippofontana1998@gmail.com>
2024-03-17 12:50:30 +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
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
zjedi
2d94f7449a
Merge pull request #168 from dholbach/add-bottom-links
add option to add links to the footer of the page
2024-02-21 21:56:41 +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
zjedi
24f402e9f1
Merge pull request #167 from SirSoySauce/bugfix/blog-logo-responsiveness-fix
Fix blog-logo CSS selector in responsiveness.scss
2024-01-13 20:37:15 +01:00
Ivo Cavelti
0ea4c8c2a0
Fix blog-logo CSS selector in responsiveness.scss 2024-01-13 19:54:19 +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
zjedi
4f5883c14d
Update README.md
Mention that hugo-extended is required
2023-12-23 00:05:52 +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
0f957c9bff
remove white space before and after footer on single pages (#159)
remove white space before and after footer on single pages with content shorter than would fit into browser window
2023-10-07 01:32:19 +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
zjedi
d2ba0eabea
Merge pull request #155 from ffrank/single-page-116
more consistent style in dedicated pages #116
2023-10-02 01:38:03 +02:00
Felix Frank
1be26f8549 more consistent style in dedicated pages #116
* introduce new variables for colors in single pages
* colors default to light section settings
* adapt the class selector in theme.scss to match the html
* use new variables in the page-template class
2023-10-01 16:54:30 +02:00
zjedi
dad8d5e408
Merge pull request #148 from zjedi/dependabot/github_actions/actions/checkout-4
chore(deps): bump actions/checkout from 3 to 4
2023-09-16 15:10:12 +02:00
dependabot[bot]
a9b76c9f2f
chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 15:38:47 +00:00
zjedi
ad4cfad51f
Merge pull request #145 from julienrott/master
top menu always shown (fix for small screens)
2023-06-19 22:37:55 +02:00
ROTT Julien
dfd5bb39c9 Show fixed menu on small screens 2023-06-19 08:38:40 +02:00
zjedi
476e9adc14
Merge pull request #132 from susnux/feat/remove-js
Remove unnecessary javascript code and replace with hugo template code
2023-04-10 20:07:01 +02:00