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
Fredrik Jonsson
4858a12ca9
Adjust how lang attribute is set on html tag.
2020-11-13 12:29:27 +01:00
Fredrik Jonsson
7757584612
Add language to JSONFeed and remove spaces before colons.
2020-11-13 10:58:20 +01:00
Fredrik Jonsson
7dab9c765b
Add misssing styles for anchor-link in render-header.
2020-11-13 09:17:51 +01:00
Fredrik Jonsson
383d923008
Update JSON feed to version 1.1.
2020-11-12 22:12:30 +01:00
Fredrik Jonsson
1b967073df
Add template render-heading to add anchor links to headers.
2020-11-09 13:36:31 +01:00
Fredrik Jonsson
695d22015f
Reneme matomo partial to tracking since we have added Google analytic support.
2020-08-10 11:32:25 +02:00
Fredrik Jonsson
fcde1683d1
Integrated FlexSearch.js and removed DuckDuckGo search.
2020-03-24 21:45:43 +01:00
Fredrik Jonsson
29be42aaa2
Implemented the new languageDirection setting.
2020-03-22 09:17:17 +01:00
Fredrik Jonsson
defca5605c
Add body classes for list and single pages as well as front.
2020-03-12 12:54:50 +01:00
Fredrik Jonsson
50e0196151
Use created date and not last modified date in posts header and summary.
2020-02-26 20:50:33 +01:00
Fredrik Jonsson
7b634ad79c
Improve and document how to set language direction, i.e ltr/rtl.
2019-11-28 10:34:46 +01:00
Fredrik Jonsson
e8f4002c70
Use paginator for mainSections on home page.
2019-11-20 10:59:23 +01:00
Fredrik Jonsson
f0ba6de8b9
Updated feed templates for Hugo v0.58.0.
2019-09-05 14:57:46 +02:00