Fredrik Jonsson
9650adeb51
Use site.Language.LanguageCode.
2024-10-23 20:11:27 +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
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
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
cfdcf5cac4
Use site.Home.RelPermalink for logo and site title link.
2023-08-28 20:09:47 +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
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
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
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
79b366cb18
Cookie concent feature.
2021-01-29 14:53:38 +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
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
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
c00bb6187d
Moving logic inside matomo partial.
2019-07-09 22:54:58 +02:00
Fredrik Jonsson
9eea6f46a9
Merge partials for head and add logic so they can be added once in baseof instead of in each single and list template.
2019-07-05 13:14:02 +02:00
Fredrik Jonsson
1b046018ea
Remove obsolete attributes from meta viewport.
2019-07-02 22:12:46 +02:00
Fredrik Jonsson
d8ac6ecfd0
Move script to head with defer attribute set. Should give optimal performance.
2019-04-09 13:18:34 +02:00
Fredrik Jonsson
6944a104bc
Use partialCached for styles, they are the same on all pages.
2019-04-02 10:02:08 +02:00
Fredrik Jonsson
727bcf7d7b
Removing not needed role attributes.
2019-03-20 13:31:09 +01:00
Fredrik Jonsson
336b3156ca
Implement Hugo Pipes to process sass and js. Gulp now only for lint.
2019-03-09 16:38:53 +01:00
Fredrik Jonsson
fcb9d4d65d
Update the Matomo script.
2019-01-27 22:27:01 +01:00
Fredrik Jonsson
e56f50a91b
Added a language selector.
2018-03-08 14:30:22 +01:00
Fredrik Jonsson
73cc0bfc89
Make use of proper relURL everywhere so site works in sub directory. Fix for setting custom height in figure shortcode.
2017-11-24 11:39:58 +01:00
Fredrik Jonsson
d8b0643475
Move viewport above title and remove obsoleta meta tags.
2017-11-01 12:52:26 +01:00
Fredrik Jonsson
fb2dcc80cb
Added json-ld and fixes to meta tags.
2017-10-24 11:45:29 +02:00
Fredrik Jonsson
d2a1b4e38b
Added link to zen theme in powerdby.
2017-08-30 09:55:13 +02:00
Fredrik Jonsson
31bab84fea
Whitespace fixes. Change layout__content to layout__main.
2017-08-30 09:41:30 +02:00
Fredrik Jonsson
f450d62703
Add content class to main, remove all layout__full classes.
2017-08-30 09:18:26 +02:00
Fredrik Jonsson
59bc1494af
Added mobilmenu param option.
2017-08-14 22:01:13 +02:00
Fredrik Jonsson
faf52f5602
Added nojs class to body and moved navbar above main content in page structure.
2017-08-01 14:05:07 +02:00
Fredrik Jonsson
8dfb9c8763
Add the mobile menu directly in baseof template instead of via js. Translate menu terms.
2017-07-25 11:18:16 +02:00
Fredrik Jonsson
562fbf3ede
Whitespace fixes. Add imporant to wireframe style.
2017-07-20 00:30:48 +02:00