Commit graph

468 commits

Author SHA1 Message Date
Patrick Kollitsch 549d73576e
chore(config): add resources to ignored files
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:17 +07:00
Patrick Kollitsch 1a4ad28b87
chore(config): add workspace configuration file for vscode
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:16 +07:00
Patrick Kollitsch 8a7847ffc3
chore: add package lockfile
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:16 +07:00
Jack Andrew 554e53e626
fix: update filepaths in README.md (#693)
* fix: update filepaths in README.md
2024-09-20 08:21:14 +07:00
Patrick Kollitsch ca6da4883e
docs(fix): proper TOML format for frontmatter sample (#717)
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-19 16:04:12 +07:00
Patrick Kollitsch 321680f6ee
theme(fix): replace deprecated resources.ToCSS with css.Sass
fixes #712

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-17 23:31:24 +07:00
Patrick Kollitsch 9a0a974089
chore(fix): being maintained again
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-17 22:52:23 +07:00
Bud Parr af9d8e86fc
Update issue templates 2024-09-10 11:02:37 -04:00
Bud Parr 46632a1e1b
Update README.md 2024-09-10 11:00:01 -04:00
Bud Parr ded8960bcb
Update README.md to fix demo site
Fixes #709 and #688
2024-09-09 08:59:19 -04:00
Ramiro Morales 33fbda0e9d
Fix render breakage introduced in #665 (#685)
A bare bones setup of two pages and two posts gets broken because of a
template change missed in #665

Fatal error message in readable form:
```
ERROR render:
failed to render pages:
render of "home" failed: "/themes/ananke/layouts/index.html:48:23":
execute of template failed:
template:
index.html:48:23:
executing "main" at <.Site.GetPage>: can't evaluate field Site in type string
```

Steps to reproduce:

```shell
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
echo -e "+++\ntitle='Home'\n+++\n\nMain page" > content/_index.md
echo Foo. > content/page1.md
echo Bar > content/page2.md
mkdir -p content/post
echo "First post." > content/post/post1.md
echo "Second post." > content/post/post2.md
hugo server
Watching for changes in .../quickstart/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in .../quickstart/hugo.toml, ...quickstart/themes/ananke/config.yaml
Start building sites …
hugo v0.125.3-474c4c02212cf97712c6fbf4159c68822ea6e078+extended darwin/amd64 BuildDate=2024-04-22T17:18:35Z VendorInfo=brew

Built in 67 ms
Error: error building site: render: failed to render pages: render of "home" failed: ".../quickstart/themes/ananke/layouts/index.html:48:23": execute of template failed: template: index.html:48:23: executing "main" at <.Site.GetPage>: can't evaluate field Site in type string
```
2024-05-03 13:43:35 -04:00
Blackeye f34c219436
Contribution: fix hard-coded link to section #664 (#665)
* allow_multiple_mainsection

* removed comment

---------

Co-authored-by: Blackeye <>
2024-04-18 11:26:30 -04:00
Johannes Arnold 0d068637cc
Include authors meta tag (#634) 2024-04-18 11:23:24 -04:00
Joe Mooring 91df000ca8
Access Disqus shortname from canonical location (#660) 2023-11-22 11:05:23 -05:00
mathew bd759431a9
Add missing "read more" link to summary.html (#658)
* Add missing "read more" link to summary.html

* Fix layouts/post/summary to add read more link
2023-11-21 15:08:47 -05:00
mathew 64dc2b6dea
Fix capitalization of single header for a11y (#657)
Thank you!
2023-11-21 15:06:16 -05:00
Joris Conijn 221a0d8817
feat: add canonical url support (#650)
When you want to publish content that is already published on a different site. You need to reference a canonical url of the original content.
By defining the `canonicalUrl` in the front matter definition the canonical url is set in the headers.
2023-11-21 14:41:58 -05:00
stigh 4ea29d886c
fix: in Norwegian translation use imperative form 'Send', consistent capitalization of 'Beskjed' (#639) 2023-11-21 14:36:10 -05:00
Petr Vála 9276a90cfa
localization: Create Czech (cs) localization (#626) 2023-11-21 14:30:49 -05:00
Melroy van den Berg 9808cf6cf0
Update setup guide link (#618) 2023-11-21 14:25:45 -05:00
Melroy van den Berg c086834f0e
Change to /intent/tweet (#652)
Change from /share to /intent/tweet.
2023-09-19 11:47:32 -04:00
Regis Philibert a1a99cf126
Fix taxonomyPageList translation
Fixes #605
2023-02-03 15:46:10 -05:00
Regis Philibert eb978e19ff
Update pagination CSS
Fixes #612
2023-02-03 15:43:47 -05:00
Efrén a43d1b9986
Typo fix (#606)
* Typo fix

* Typo fix
2023-02-03 14:55:29 -05:00
Regis Philibert c62bf44379
html[lang]: use site.Language.Lang when languageCode is not set. (#617)
Fixes #613
2023-02-03 14:55:04 -05:00
Regis Philibert 315a00623c
Document read_more_copy parameter
Fixes #598
2022-12-14 11:04:41 -05:00
Aren Siekmeier 6affbfb0dd
fix permissions (#581) 2022-12-14 09:56:24 -05:00
James Henstridge 5f5dfb15e8
assets: update mastodon logo in social links (#597)
* assets: replace Mastodon logo

The new version is based on the logo-black.svg file distributed from
https://joinmastodon.org/branding, adjusted to match the metrics of the
other social logos.

* layouts: change the color for the mastodon social link

I've picked a purple from https://joinmastodon.org/branding.
2022-12-14 09:55:14 -05:00
Regis Philibert a0c7382c59
Fix duplicate rel attributes on social-follow 2022-12-02 16:32:01 -05:00
oliv37 3e26715593
Update _index.md (#590) 2022-12-02 15:47:36 -05:00
Krystian Safjan f44816cc0a
Add polish transtlation (#593) 2022-12-02 15:47:11 -05:00
mrestivill 219fc33457
Feautre/new i18n ca (#594)
* Create ca.toml

* Update ca.toml
2022-12-02 15:46:55 -05:00
mrestivill f7e5c3dd3e
Update es.toml (#595)
Added 2 missing translations
2022-12-02 15:45:01 -05:00
Regis Philibert 6b66dc32d4
Add a rel option to social registers (#596)
* Add a `rel` option to social registers

Fixes #417

* Fix typo
2022-12-02 14:22:06 -05:00
Regis Philibert b393088d09
Make sure only the title closest to content is an h1, (#585)
not the hero's.

Fixes #584
2022-10-31 11:34:59 -04:00
Dominik Inführ b433a7a7ee
Fix german translation in de.yml (#575) 2022-10-31 09:30:48 -04:00
James Henstridge 5a8b531a7c
Improve links for sitemap and taxonomies (#569)
* layouts: use absURL to construct absolute URLs instead of concatenating with .Site.BaseURL

* layouts: let hugo generate URLs to taxonomy terms

* layouts: link to current language's home page in the site footer
2022-09-07 08:36:32 -04:00
Regis Philibert b3b4386d01 Retry go.mod replace with recent cloudflare improvements 2022-09-06 13:55:32 -04:00
Steven Solomon 26a78654fa
Add support for GA4 (#572)
Use new default Hugo GA template
2022-09-06 10:05:55 -04:00
Regis Philibert 470ea40982
Only apply the absURL on images served through satic directory (#557)
This will solve the subdirectory edge case without communication

Fixes #556
2022-06-10 15:36:57 -04:00
Andreas Deininger 720bd45dc8
Fixing typo, changing links from http:// to https:// (#551) 2022-05-20 14:51:54 -04:00
Regis Philibert a98a70782c
Enable/Disable Social follow/share per service (#550)
* This allows user to set `follow: false` on a service to see it removed from the list of socials throughout.

Fixes #547

* Update README
2022-05-06 11:26:54 -04:00
Regis Philibert 7b472d461c Update URL 2022-05-06 10:22:04 -04:00
Regis Philibert ddf6a83405 Fix exampleSite gomod... 2022-05-06 10:19:09 -04:00
Meir Kriheli dd7cded81d
Added Hebrew translations (#544) 2022-05-06 09:39:56 -04:00
Regis Philibert c49009b823 Only add html[dir] attr if languageDirection is explicitly set 2022-04-21 14:23:44 -04:00
Meir Kriheli 19242fd2f8
Added support for Right-To-Left languages (#532)
* Added support for Right-To-Left languages

* Added language-direction partial
2022-04-21 14:17:49 -04:00
Charles Brunet 5520ed119f
use time.Format to format dates. It allows dates to be localized. (#537)
* use time.Format to format dates. It allows dates to be localized.

* Keep old default format, to remain compatible with older versions of hugo
2022-04-21 13:15:53 -04:00
Regis Philibert 751ac93c1b
Upgrade "minVersion" of theme to 84 (#543)
* Upgrade "minVersion" of theme to 84

Check hugo.IsExtended before trying to process scss files

Fixes #541
2022-04-21 11:48:54 -04:00
Charles Brunet e91f77c5be
Add missing French translation (#538) 2022-04-12 15:04:20 -04:00