Commit graph hackertours-theme/layouts/_default
Author SHA1 Message Date
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
Fredrik Jonsson
a942441544 Implement mainSections for home page and replace .Data.Pages with alias .Pages. 2019-08-16 13:05:43 +02: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
15c6c89fce Move the header inside the article tag in single template. 2019-04-17 14:25:37 +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
3565ba1e72 Added opengraph meta tags. 2018-03-02 11:15:05 +01:00
Fredrik Jonsson
f53567394e More i18n strings and code style fixes. 2018-03-01 14:30:56 +01:00
Fredrik Jonsson
f25ad69da2 Improve the JSON-LD output and add it to sections and front page as well. 2018-03-01 14:29:25 +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
1b0cead11a Lastmod is autopopulated from Date if not set. 2017-09-01 15:28:44 +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