Commit graph hackertours-theme/layouts/_default
Author SHA1 Message Date
Fredrik Jonsson
ed5a99e9e5 Use site.Language.LanguageCode. 2025-02-04 15:01:40 +01:00
Yana/Yannic Haupenthal
d0930dc525
fix partial name (#121)
since this was renamed in beb5232b70
2025-01-15 09:51:24 +01:00
Fredrik Jonsson
4d295fa782 Add repository-links feature. 2025-01-13 16:47:13 +01:00
Fredrik Jonsson
3a522997f7 Improve render hook example for headings. 2025-01-12 19:09:34 +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
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
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
18e40b4ad6 Move mobile out of header dom. 2024-02-25 15:37:41 +01:00
Fredrik Jonsson
d95bf6d1b8 Remove extra margin block end to site header. 2023-11-25 23:06:17 +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
106d3df37e Updated to author params and GoogleAnalytics params with Hugo v0.120.0. 2023-10-30 20:23:17 +01: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
cfdcf5cac4 Use site.Home.RelPermalink for logo and site title link. 2023-08-28 20:09:47 +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
9bdec6ca76 Whitespace in templates. 2023-05-28 19:36:58 +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
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
Fredrik Jonsson
9a8fc75e1f Make use of partialCached for cookiconsent and math. 2023-03-17 20:07:13 +01:00
Fredrik Jonsson
5033f3a277 Adjustments to the katex integration. 2023-03-17 14:14:19 +01:00
Jason Li
1b82c48add
Add math typesetting support with KaTex (#80)
* add math typesetting support with KaTex
* Simplified the syntax for checking "math" property
* save katex files to local
* use local katex file to render math typesetting
* revert changes in scripts.html and styles.html
* Save math.js as a file, not inline script.
* move it into "assets/js" folder
* Load all necessary scripts and styles in math.html
2023-03-17 13:50:57 +01:00
Fredrik Jonsson
1d6e50708a Move some styles fron zen to base. Add margin-top and margin bottom classes for all spacing levels. Add footer component. 2023-03-15 15:46:09 +01:00
Fredrik Jonsson
97e5eb3bd7 Add param logoHeight. 2023-02-24 10:42:49 +01:00
Fredrik Jonsson
d81780b409 Add base size to srcset in render image example. 2023-02-02 18:54:22 +01:00
Fredrik Jonsson
45e970953c Add icon-inline component, update render-heading.html.example and add render-image.html.example. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
f58575e232 New card template. Add settings to transpile sass with libsass or dartsass. Add setting to use internal pagination template. Wrap summary in p tags. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
7f91caaf5d Improve the accecibility of the mobil menu. Also switch to SVG hamburger icon that is animated. 2022-12-21 10:05:10 +01:00
Fredrik Jonsson
77cecbc62a Fix bug in logo image path and logo URL so they work in sub dir. 2022-12-05 08:10:43 +01:00
Aziz
d1cecf061c
Update and rename render-link.html to render-link.html.example 2022-09-16 16:59:06 +07:00
Aziz
cff71bf5f5
Create render-link.html
Markdown render hooks for links
2022-09-15 18:38:30 +07:00
Fredrik Jonsson
35443bce5c Add setting menuInHeader to allow the manin menu to be moved to the header. 2022-09-12 16:19:51 +02:00
Fredrik Jonsson
67ee530bd8 Updated logo plus favicons and added logoWidth param. 2022-08-04 13:10:09 +02:00
Fredrik Jonsson
d806a8de65 Add content to top of list templates if there are any. 2022-05-24 22:45:04 +02:00
Fredrik Jonsson
2545daa221 Keep .content in seperate div. 2022-05-02 08:12:09 +02:00
Fredrik Jonsson
dcbe92cbb8 Add aria-label to header anchor-link in render hook. 2022-04-17 20:11:30 +02:00
Fredrik Jonsson
0818a05fc5 More useful article tag classes. 2022-02-17 15:13:59 +01:00
Fredrik Jonsson
70cc214f44 Set sidebar to false as default. 2022-01-26 14:27:15 +01:00
Fredrik Jonsson
3737d5874c Replace .Site.x and $.Site.x with site.x. 2022-01-24 08:03:42 +01:00
Fredrik Jonsson
fec3d75d9c Add param logoPath. 2021-11-05 09:30:59 +01:00
Fredrik Jonsson
0d39a55736 Rename param related to relatedposts. 2021-02-24 23:18:09 +01:00
Fredrik Jonsson
79b366cb18 Cookie concent feature. 2021-01-29 14:53:38 +01:00
Fredrik Jonsson
07cdce1c9d Add optional related see also sections to posts. 2021-01-04 09:13:03 +01:00
Fredrik Jonsson
ed88ef7ddb Only add the render heading hook file as an example, not all site want to use it. 2020-11-14 13:07:37 +01:00
Fredrik Jonsson
d3eb48fee5 Use .LanguageCode in place of .Lang when avalible for all lang and hreflang attributes. 2020-11-13 13:41:07 +01:00