Commit graph hackertours-theme/layouts
Author SHA1 Message Date
Fredrik Jonsson
516dff348e Rename assets/vendor to assets/libs to make it work with go modules. 2023-03-26 14:21:12 +02:00
Fredrik Jonsson
9a8fc75e1f Make use of partialCached for cookiconsent and math. 2023-03-17 20:07:13 +01:00
Fredrik Jonsson
eee22b08f5 Adjustments to the katex integration, part 2. 2023-03-17 16:44:50 +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
afbc914417 Remove unused our outdated js libs. 2023-03-13 08:07:52 +01:00
Fredrik Jonsson
0cbd21753b Move third party js to a assets/vendor dir. 2023-03-02 08:19:28 +01:00
Fredrik Jonsson
52fcea72aa Adjustments to the mobile menu, part 2. 2023-02-27 14:32:22 +01:00
Fredrik Jonsson
66debf54cf Simplify _zen.scss by using componets classes. 2023-02-24 15:55:11 +01:00
Fredrik Jonsson
6f2f3cd067 Default to site.Author.name for post author. 2023-02-24 15:51:30 +01:00
Fredrik Jonsson
97e5eb3bd7 Add param logoHeight. 2023-02-24 10:42:49 +01:00
Fredrik Jonsson
338d1e8264 Link elements with hreflang should be absolute. 2023-02-24 08:39: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
b1f0337557 Add taxonomy summary template without date but with count and description. 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
32a815789c Add base size to srcset in img and figure shortcodes. 2023-02-01 10:33:32 +01:00
Fredrik Jonsson
363850bae8 Bug fix, path.Join do not work with full scheme URLs. Made podcast feed with cdn not work. Revert back to use add. 2023-01-25 10:20:49 +01:00
Fredrik Jonsson
8432f13929 Replace h4 tag with p+strong in sidebar menu. 2023-01-18 10:03:53 +01:00
Fredrik Jonsson
1bd584da5f Fix invalid json when page has no content or description. 2023-01-17 08:43:43 +01:00
Fredrik Jonsson
dc538ae451 MAke it possible to set empty alt attribute on figure, img and svg shortcodes. Do not use h4 for caption title in figure, use strong instead. 2023-01-15 11:52:20 +01:00
Fredrik Jonsson
7df8e982ab
Improve shortcodes to support page resources (#68) 2023-01-05 09:19:56 +01:00
Fredrik Jonsson
0581ac810f No longer load Umbrella JS by default sine alla theme JS is vanilla. Updated jQuery to latest version. Updated README. 2022-12-21 13:56:57 +01:00
Fredrik Jonsson
331be7ebe4 Convert the contact form to vanilla JS. 2022-12-21 13:39:50 +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
617ab51ed7 Replace ExecuteAsTemplate with js.Build for js files. 2022-07-19 15:06:57 +02:00
Fredrik Jonsson
56d3c30a98 Replace use of add with path.Join for buildig paths. 2022-07-19 14:56:32 +02:00
Fredrik Jonsson
66b79fc31b Do not defult RenderString to block in wrapper shortcode. 2022-06-02 14:15:18 +02:00
Fredrik Jonsson
6d9eeed680 Add svg shortcode. 2022-05-31 22:29:18 +02:00
Fredrik Jonsson
cf58f0e200 Add Alpine.js, will start expermimenting with this, part 2. 2022-05-27 10:40:14 +02:00
Fredrik Jonsson
ef83bd634c Update some shortcodes to use RenderString. 2022-05-27 09:37:08 +02:00
Fredrik Jonsson
34f0579682 Add a detail/summary shortcode. 2022-05-24 22:45:24 +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
f17836facc Add button shortcode. 2022-05-24 19:42:35 +02:00
Andreas Deininger
0bbbfe8181 Fixing typo ('honeypot'). 2022-05-04 22:04:50 +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
6e664875f1 Add reflink shortcode. 2022-03-23 10:37:09 +01:00
Fredrik Jonsson
0818a05fc5 More useful article tag classes. 2022-02-17 15:13:59 +01:00
Fredrik Jonsson
fcbb00a96a Remove atom tag from podcast rss. 2022-02-07 15:52:21 +01:00
Fredrik Jonsson
4eb23fe366 Correcting Podcast RSS tags. 2022-02-07 14:05:37 +01:00
Fredrik Jonsson
70cc214f44 Set sidebar to false as default. 2022-01-26 14:27:15 +01:00
Fredrik Jonsson
ce6e10f7a9 Use GetTerms for taxonomy terms. 2022-01-24 08:03:42 +01:00
Fredrik Jonsson
440cb44207 Move sass lib folder down one level. Move css colour var generation to styles file. 2022-01-24 08:03:42 +01:00