Metadata raedy in list pages

This commit is contained in:
2023-10-01 21:45:41 -07:00
parent 8bc18dcf99
commit 9e1585565c
9 changed files with 217 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
<body>
{{- partial "header.html" . -}}
<div id="content" class="feed-container">
{{- block "main" . }}{{- end }}
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>

View File

@@ -1,5 +1,10 @@
{{ define "main" }}
{{ partial "minimal-navbar.html" }}
{{ if eq .Page.Path "feed" }}
<h5>/feed</h5>
{{ else if eq .Page.Path "dev" }}
<h5>/dev</h5>
{{ end }}
{{ $colors := slice "cyan" "yellow" "pink"}}
{{ $opts := len $colors }}
{{ range $i, $page := .Pages.ByDate.Reverse }}

View File

@@ -10,5 +10,9 @@
<meta property="og:site_name" content="{{ .Site.Params.Name }}">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:type" content="website">
<meta property="og:image" content="/images/ogbanner.jpg">
{{ if .Params.Thumbnail }}
<meta property="og:image" content="{{ .Params.Thumbnail }}">
{{ else }}
<meta property="og:image" content="/images/ogbanner.jpg">
{{ end }}
</head>

View File

@@ -91,6 +91,7 @@ html {
display:inline;
font-size: 1.5rem;
text-decoration: none;
color: #dcdcdc;
}
.socials:hover {
@@ -155,13 +156,9 @@ html {
.title-link { color: #EAA221; }
.title-link { text-decoration-color: #EAA221; }
.card {
padding: 1em;
margin: 1em;
min-width: 250px;
width: 50%;
a {
color: orange;
}
a { color:#dcdcdc; }
a:hover { color: #EAA221; }
.card-img {
@@ -170,9 +167,12 @@ a:hover { color: #EAA221; }
}
.card {
background-color: transparent;
max-width: 45%;
border-style: solid;
border-width: 3px;
padding: 1em;
margin: 1em;
max-width: 75%;
min-width: 250px;
}
ul.timeline {