mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-02 14:46:25 +00:00
Add intro message to list pages
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<main class="posts">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{- if .Content }}
|
||||
{{- if and .Content (not .Paginator.HasPrev) }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<main class="portfolios">
|
||||
<h1>Portfolio</h1>
|
||||
|
||||
{{- if .Content }}
|
||||
{{- if and .Content (not .Paginator.HasPrev) }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<main class="posts">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{- if .Content }}
|
||||
{{- if and .Content (not .Paginator.HasPrev) }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{- end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user