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

Remove extra newlines

This commit is contained in:
Rohan Kumar 2022-05-31 17:11:52 -07:00
parent 90aeb2d23a
commit c936ca1902
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{{ define "main" }}
{{ define "main" -}}
<main itemprop="mainEntity" class="h-feed hfeed" itemscope="" itemtype="https://schema.org/DataFeed">
<h1 id="bookmarks" class="p-name" itemprop="name headline">My book&#173;marks</h1>
{{ partial "processed-content.html" . }}

View file

@ -1,4 +1,4 @@
{{ define "main" }}
{{ define "main" -}}
{{- if eq .Page.Section "notes" -}}
{{- partial "notes.html" . -}}
{{- else -}}

View file

@ -1,4 +1,4 @@
{{ define "main" }}
{{ define "main" -}}
<main itemprop="mainEntity" class="h-feed hfeed" itemscope="" itemtype="https://schema.org/DataFeed">
<h1 class="p-name" itemprop="name headline" id="notes">Notes</h1>
<p>This is my microblog. These are my short informal entries, sorted by date (newest first). For longer entries, <a href="../posts/">see my blog</a>.</p>

View file

@ -1,4 +1,4 @@
{{ define "main" }}
{{ define "main" -}}
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
<main itemprop="mainEntity" itemscope="" itemtype="https://schema.org/Article" itemid="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}">
{{ partial "full-article.html" . }}

View file

@ -1,4 +1,4 @@
{{ define "main" }}
{{ define "main" -}}
<main>
{{ partial "processed-content.html" . }}
{{ partial "posts.html" . }}