Fredrik Jonsson
4d295fa782
Add repository-links feature.
2025-01-13 16:47:13 +01:00
Fredrik Jonsson
beb5232b70
Rename partials so all use - and not _.
2025-01-13 16:37:36 +01:00
Fredrik Jonsson
3a522997f7
Improve render hook example for headings.
2025-01-12 19:09:34 +01:00
Fredrik Jonsson
b25c0cef61
Use RelPermalink for tags.
2025-01-04 21:57:20 +01:00
Fredrik Jonsson
24e8b00ad3
Rename related partial to relatedposts.
2024-11-25 19:39:08 +01:00
Fredrik Jonsson
2bea24168e
Move favicons to seperate partial so it can use partialCached. Remove realfavicongenerator setting and autodetect favicon files instead.
2024-11-25 15:39:40 +01:00
Fredrik Jonsson
c98e916fb9
Update favicons with new sizes that RealFaviconGenerator creates.
2024-11-08 08:55:13 +01:00
Fredrik Jonsson
a1e9b05dcc
Fix bug in author params code, reported in issue #117 .
2024-11-06 15:27:51 +01:00
Fredrik Jonsson
9650adeb51
Use site.Language.LanguageCode.
2024-10-23 20:11:27 +02:00
Fredrik Jonsson
7585387985
Auto Summary is now html.
2024-09-08 18:39:56 +02:00
Fredrik Jonsson
afe29b6e81
Removed automatic menu.
2024-08-20 11:56:05 +02:00
Fredrik Jonsson
2ae8ee84ee
Min version is now v0.124.0. Using site.Config.Services.GoogleAnalytics.ID, hugo.IsMultilingual and hugo.yaml etc.
2024-08-14 14:27:12 +02:00
Fredrik Jonsson
b1ecbbef64
Implemented upstream changes to feed templates.
2024-04-23 09:58:54 +02:00
Fredrik Jonsson
d292e993a1
Replace all site.Author* with site.Params.author*.
2024-03-16 20:59:18 +01:00
Fredrik Jonsson
608936b748
Implement LinkTitle in menus, making it easy to set in frontmatter.
2024-02-25 15:37:41 +01:00
Fredrik Jonsson
18e40b4ad6
Move mobile out of header dom.
2024-02-25 15:37:41 +01:00
Fredrik Jonsson
0376f98512
Add loading=lazy to img tags.
2024-01-30 19:34:52 +01:00
Fredrik Jonsson
31bafbb2f7
Adding view-transition meta tag so I remember to implement it whe browsers start to support it. It is really cool
2024-01-11 17:30:14 +01:00
Fredrik Jonsson
5ec7742bfe
Improve cokkieconsent box styling.
2023-12-08 08:54:56 +01:00
Fredrik Jonsson
d95bf6d1b8
Remove extra margin block end to site header.
2023-11-25 23:06:17 +01:00
Fredrik Jonsson
e42f7228ff
Remove button from search form.
2023-11-21 12:09:33 +01:00
Fredrik Jonsson
bf76cb1417
Search shortcode improvments.
2023-11-14 17:37:47 +01:00
Fredrik Jonsson
4bb4c9dec1
Remove content div wrappers. Use grid template columns for main to support stretch and breakout classes.
2023-11-14 17:37:47 +01:00
Fredrik Jonsson
fb411d6f32
If with or heght is set in img and figure shortcodes, use that even when size is set.
2023-11-14 17:36:46 +01:00
Fredrik Jonsson
d8af3cd856
Bug in podcast rss template, it is with not width.
2023-11-10 14:58:32 +01:00
Fredrik Jonsson
106d3df37e
Updated to author params and GoogleAnalytics params with Hugo v0.120.0.
2023-10-30 20:23:17 +01:00
Fredrik Jonsson
94a6dc0af3
Make search work for all languages when contentDir is set. ( #106 )
2023-10-25 08:40:18 +02:00
Fredrik Jonsson
34a0a39352
Add wrapper start and end shortcodes. Make editing in Cloudcannon easier since we can avoid nested shortcodes.
2023-10-16 17:51:52 +02:00
Fredrik Jonsson
a68a2104c6
Support optional head and footer partials.
2023-10-12 09:05:38 +02:00
Fredrik Jonsson
ceb809eeaa
Add the siteName param so site name can optionaly be set to visually-hidden.
2023-10-11 10:03:22 +02:00
Fredrik Jonsson
e3861bb728
Templates white space fixes.
2023-09-29 10:55:50 +02:00
Fredrik Jonsson
bfd78179c6
Use js.Build for minify in math partial.
2023-09-29 09:25:19 +02:00
Fredrik Jonsson
d0d2798bc9
MAke file_stat for local podcast files work if in subdir.
2023-08-28 20:11:26 +02:00
Fredrik Jonsson
cfdcf5cac4
Use site.Home.RelPermalink for logo and site title link.
2023-08-28 20:09:47 +02:00
Fredrik Jonsson
dab1fb45da
Bug fix, path.Join do not work with full scheme URLs. Fix in feed earlier, this is for the partial.
2023-07-25 08:50:45 +02:00
Fredrik Jonsson
31f67a58b0
Remove obsolute form-submit and form-error.
2023-07-16 07:40:56 +02:00
Fredrik Jonsson
8dd5e86058
Use js.Build for all js minify.
2023-06-27 14:21:52 +02:00
Fredrik Jonsson
f44fd9da55
h1 only on top of page so different margins.
2023-06-03 22:38:03 +02:00
Fredrik Jonsson
be68250151
Use em to set header margins for better text rythm.
2023-06-01 19:30:24 +02:00
Fredrik Jonsson
93728f1e9e
Make use of aria-current as selector and remove use of active class.
2023-05-30 08:57:59 +02:00
Fredrik Jonsson
9bdec6ca76
Whitespace in templates.
2023-05-28 19:36:58 +02:00
Fredrik Jonsson
a7bfa92312
Use .Site.LanguageCode.
2023-05-28 11:12:21 +02:00
Fredrik Jonsson
3c61f58e3d
.Language.Params is deprecated and will be removed in a future release.
2023-05-18 20:03:47 +02:00
Fredrik Jonsson
06479083fb
Fix some bugs with mobile toggle and reuse button and link classes for mobile menu.
2023-05-08 15:49:49 +02:00
Fredrik Jonsson
86d7c8d001
Minor codestyle fixes to meta_breadcrumb. Moving safeJS to the partial output.
2023-04-23 20:59:21 +02:00
Fredrik Jonsson
a4b9df99b1
Add header tag to title in list layouts so the title to not fall of the page. Minor other layout fixes.
2023-04-23 20:56:27 +02:00
Daniel F. Dickinson
eb27a1e023
Add schema.org BreadcrumbList to JSON+LD ( #87 )
...
* Add schema.org BreadcrumbList to JSON+LD
This implementation depends on .Page.Ancestors, which requires Hugo
version v0.109.0.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
* Fix extraneous comma in schema
For blog posts we ended up with an extraneous comma due to it being
outside the condition for the breadcrumb
JSON+LD.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
* Pretty print breadcrumb JSON+LD for schema
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
* Make breadcrumbs opt-in on non-blogSections
Sections except blogSections (which is a configurable set which is
defaulted to sections 'blog' and 'post'), may be part of
`breadcrumbSections`. For the breadcrumb Sections, the section and any
pages under it will have the `breadcrumb` attribute (of type
`BreadcrumbList`) added to the JSON+LD for their schema.org structured
data.
Update documentation of `params` for example `config.yaml` in README.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
---------
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2023-04-23 20:17:52 +02:00
Fredrik Jonsson
a5e759d988
Add style components for zebra-tables and responsive-tables.
2023-04-23 16:47:57 +02:00
Fredrik Jonsson
c482552746
Math partial can not be cached.
2023-04-18 15:18:31 +02:00
Fredrik Jonsson
936892fe7b
Add math render codeblock and math shortcode.
2023-04-13 16:09:09 +02:00