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:
@@ -304,11 +304,11 @@ ol ol {
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
flex: 1 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
// align-items: center;
|
||||
// justify-content: center;
|
||||
margin: 0;
|
||||
|
||||
@media #{$media-size-phone} {
|
||||
|
||||
@@ -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