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
Fredrik Jonsson
5f0f61019a
Added languagedir param.
2017-07-17 15:12:30 +02:00
Fredrik Jonsson
0b35bcb8a2
Removing all layour flots and use flex instead. Remove slicknav.
2017-07-16 19:31:55 +02:00
Fredrik Jonsson
265a50cda5
Replace zen grids with css grid. Move print styles print style file. Remove Drupal specific styles.
2017-07-16 18:03:23 +02:00
Fredrik Jonsson
bfe20ac044
Minor whitespace fix around footer.
2017-07-14 12:48:04 +02:00
Fredrik Jonsson
2bcf1168c8
Move meta and script tags that need cached to *_cached partials.
2017-06-25 17:59:53 +02:00
Fredrik Jonsson
4047401c37
Added piwik integration.
2017-06-16 16:58:08 +02:00
Fredrik Jonsson
72948a55f0
Move link rel canonical from meta.html that is cached and add it directly in baseof.html
2017-05-30 12:24:38 +02:00
Fredrik Jonsson
43abc37088
Optional feedlinks in footer.
2017-05-19 14:34:28 +02:00
Fredrik Jonsson
90cb79d78a
Simplified setting the title tag, added author and date to posts, TODO make optional. Ordering of meta tags. Fixes for alternate outputs like RSS.
2017-05-17 22:44:15 +02:00
Fredrik Jonsson
cf5d447b87
Whitespace and meta tags.
2017-05-17 00:33:54 +02:00
Fredrik Jonsson
0299c650d5
Make sidebar optional, make it possible to overide all parmas per post.
2017-05-16 15:41:50 +02:00