mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 01:45:30 -04:00
🎨 Move heading anchors to render hook
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
{{ with .Site.Params.keywords -}}
|
||||
<meta name="keywords" content="{{ . }}" />
|
||||
{{- end }}
|
||||
<base href="{{ .Site.BaseURL }}" />
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
{{/* Styles */}}
|
||||
<link type="text/css" rel="stylesheet" href="{{ "css/main.css" | absURL }}" />
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{{ . | replaceRE "(<h[2-4] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1} <a class="heading-anchor" href="#${2}" aria-label="Anchor">#</a> ${3}` | safeHTML }}
|
||||
Reference in New Issue
Block a user