Remove heading links in Atom, RSS
This commit is contained in:
7
layouts/_default/_markup/render-heading.atom.xml
Normal file
7
layouts/_default/_markup/render-heading.atom.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ $context := . }}
|
||||
|
||||
{{ $anchor := $context.Anchor }}
|
||||
{{ $level := $context.Level }}
|
||||
{{ $text := $context.Text }}
|
||||
|
||||
<h{{ $level }} {{ with $anchor }} id="{{ . }}" {{ end }}>{{ $text }}</h{{ $level }}>
|
7
layouts/_default/_markup/render-heading.rss.xml
Normal file
7
layouts/_default/_markup/render-heading.rss.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ $context := . }}
|
||||
|
||||
{{ $anchor := $context.Anchor }}
|
||||
{{ $level := $context.Level }}
|
||||
{{ $text := $context.Text }}
|
||||
|
||||
<h{{ $level }} {{ with $anchor }} id="{{ . }}" {{ end }}>{{ $text }}</h{{ $level }}>
|
Reference in New Issue
Block a user