hextra/layouts/partials
mafendi cb274c8ac5
feat: add canonical to head.html (#269)
By adding `canonical` parameter to the front matter and specifying the URL, the canonical URL is added. 
If no canonical URL is needed to be specified, the layout will use the current page address for canonical tag. 

Example: 

```
---
title: "Page Title"
description: "Page description"
canonical: "https://canonicalurl.com"
---
2024-02-01 22:52:41 +00:00
..
components feat: support empty prev/next pagination (#130) 2023-10-04 20:13:49 +01:00
custom feat: allow disable toc on page frontmatter 2023-08-16 20:40:03 +01:00
utils fix: ensure relref in search index is properly rendered (#196) 2023-11-10 22:21:54 +00:00
breadcrumb.html chore: add more i18n options and update templates 2023-08-27 17:32:44 +01:00
favicons.html fix: site.webmanifest should use relative url 2023-08-27 19:49:51 +01:00
footer.html chore(style): better footer logo alignment (#212) 2023-11-18 15:31:30 +00:00
google-analytics.html chore: support services.googleAnalytics.ID (#173) 2023-10-30 23:48:48 +00:00
head-css.html fix: add integrity attribute to styles css preload tag (#83) 2023-09-23 22:42:05 +01:00
head.html feat: add canonical to head.html (#269) 2024-02-01 22:52:41 +00:00
language-switch.html chore: add more i18n options and update templates 2023-08-27 17:32:44 +01:00
navbar.html chore: add rel="me" attribute to Mastodon navbar icon (#243) 2024-01-08 18:25:54 +00:00
opengraph.html feat: allow disable toc on page frontmatter 2023-08-16 20:40:03 +01:00
scripts.html feat: add option to set default theme and hide toggle button (#146) 2023-10-21 22:18:04 +01:00
search.html fix: search shortcut based on user platform (#101) 2023-09-27 19:47:20 +01:00
sidebar.html feat: exclude page from sidebar (#209) 2023-11-17 23:00:05 +00:00
theme-toggle.html chore(i18n): support translation for theme toggle (#152) 2023-10-26 04:02:47 -04:00
toc.html fix: accurate editURL resolution in translated sites (#264) 2024-01-21 10:33:49 +00:00