1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

Fix headings for posts section on homepage

This commit is contained in:
Rohan Kumar 2022-05-01 21:14:06 -07:00
parent 0a5643ce1d
commit 623aff9eab
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,5 +1,5 @@
{{- $isStandalone := false -}} {{- $isStandalone := false -}}
{{- if ne .Permalink .Site.BaseURL -}} {{- if and (ne .Permalink .Site.BaseURL) (ne .RelPermalink "/") -}}
{{- $isStandalone = true -}} {{- $isStandalone = true -}}
{{- end -}} {{- end -}}
<section class="h-feed hfeed" itemscope itemtype="https://schema.org/{{ if $isStandalone }}Complete{{ end }}DataFeed"> <section class="h-feed hfeed" itemscope itemtype="https://schema.org/{{ if $isStandalone }}Complete{{ end }}DataFeed">