Commit graph hackertours-theme/layouts/shortcodes
Author SHA1 Message Date
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
331be7ebe4 Convert the contact form to vanilla JS. 2022-12-21 13:39:50 +01: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
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
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
6e664875f1 Add reflink shortcode. 2022-03-23 10:37:09 +01:00
Fredrik Jonsson
3737d5874c Replace .Site.x and $.Site.x with site.x. 2022-01-24 08:03:42 +01:00
Fredrik Jonsson
a292f0f9fe Add srcset support to figure and img shortcodes. 2021-06-23 10:17:53 +02:00
Fredrik Jonsson
17c2d804b1 Add autoplay and loop to video shortcode. 2021-05-24 19:05:40 +02:00
Fredrik Jonsson
02efe4fdde Added newtab option to file shortcode. 2020-11-25 08:57:02 +01:00
Fredrik Jonsson
e9f8977861 Fix bug in audio shortcode, misplaces figcaption. 2020-11-24 09:40:30 +01:00
Fredrik Jonsson
46595e5ae9 Added new file shortcode and added better checks in figure and img shortcodes. 2020-11-23 11:08:12 +01:00
Fredrik Jonsson
0848b49f3f Improved figure and img shortcodes that handle images in both /static and /assets. New size attribute activates image resizing. 2020-11-16 13:08:44 +01:00
Fredrik Jonsson
18e1a9914e Removing more double spaces. 2020-07-30 09:32:27 +02:00
Takashi Kato
71f50d5b40
Remove extra space
Encountered an issue https://github.com/frjo/hugo-theme-zen/issues/16.
Per forum, this may help an error. https://discourse.gohugo.io/t/error-with-template-illegal-number-syntax/21148/4
2020-06-16 21:14:43 +09:00
Fredrik Jonsson
474796c204 Make the figure shortcode work with images not in static. 2020-04-20 20:43:51 +02:00
Fredrik Jonsson
fcde1683d1 Integrated FlexSearch.js and removed DuckDuckGo search. 2020-03-24 21:45:43 +01:00
Fredrik Jonsson
6b0f3caf6c Do not use scratch in figure shortcode anymore, set variables the new improved go template way. 2020-01-03 11:28:24 +01:00
Fredrik Jonsson
9d40eac2d6 A first attempt at supporting podcasts. iTunes RSS feed, layouts, parameters etc. included. 2019-05-13 09:08:29 +02:00
Fredrik Jonsson
5342b34f1b Update wrapper shortcode to accommodate changes made in Hugo 0.55 to how the % delimiter works in shortcodes. 2019-04-24 18:28:16 +02:00
Fredrik Jonsson
73795756ac Improved figure shortcode, no -1px round of errors. 2018-09-08 19:34:29 +02:00
Fredrik Jonsson
1d7250f48d Added a wrapper shortcode. 2018-03-29 09:35:05 +02:00
Fredrik Jonsson
a673c28cf2 Adding a php contact form feature. 2018-03-09 14:54:31 +01:00
Fredrik Jonsson
f53567394e More i18n strings and code style fixes. 2018-03-01 14:30:56 +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
6b9f48cfc0 Makes use of imageConfig in custom figure.html template. 2017-05-22 18:04:02 +02:00
Fredrik Jonsson
511cd74910 Custom shortcode for figure, claning up whitespace. More custom stuff to come. 2017-05-21 23:36:32 +02:00
Fredrik Jonsson
b7977e1c28 First commit. 2017-03-09 14:29:29 +01:00