This commit is contained in:
brooke 2024-05-22 14:22:07 -04:00
parent b28aed8b97
commit f08d57585c
19 changed files with 143 additions and 1 deletions

@ -1 +0,0 @@
Subproject commit eaa1325807616e44dd68023781fbd22c4fb8d0b7

View file

View file

@ -0,0 +1,9 @@
<!doctype html>
<html lang="en">
{{ partial "head.html" . }}
<body class="min-h-screen flex flex-col">
{{ partial "nav.html" . }} {{ partial "header.html" . }} {{ block "main" .
}}{{ end }} {{ partial "footer.html" . }}
</body>
</html>

View file

@ -0,0 +1,16 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Pages.ByPublishDate.Reverse }}
<p>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "metadata.html" . }}
<a class="summary" href="{{ .RelPermalink }}">
<p>{{ .Summary }}</p>
</a>
</p>
{{ end }}
{{ partial "footer.html" . }}
{{ end }}

View file

@ -0,0 +1,26 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ range .Pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{- .Content | html -}}</description>
</item>
{{ end }}
</channel>
</rss>

View file

@ -0,0 +1,6 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ partial "metadata.html" . }}
<br /><br />
{{ .Content }} {{ end }}

View file

@ -0,0 +1,11 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Data.Terms.Alphabetical }}
<p>
<a class="btn btn-outline-dark font-125" href="{{ .Page.Permalink }}">
<span class="badge badge-dark">{{ .Count }}</span> {{ .Page.Title }}
</a>
</p>
{{ end }} {{ partial "footer.html" . }} {{ end }}

View file

@ -0,0 +1 @@
{{ define "main" }} {{ end }}

View file

@ -0,0 +1,18 @@
<div
class="self-end w-full py-6 gap-2 flex-col flex items-center justify-center min-h-12 bg-slate-950 text-white"
>
<div class="px-8 w-1/2 flex flex-row justify-between">
<div>
{{ range .Site.Menus.main }}
<a class="" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }} {{ $text }}
</a>
{{ end }}
</div>
<div>Social Media</div>
</div>
<div class="h-px bg-slate-700 w-9/12"></div>
<div>
<p>© {{ now.Format "2006"}} {{ .Site.Params.authorName | markdownify }}</p>
</div>
</div>

View file

@ -0,0 +1,18 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ if .Site.Params.googleAnalytics }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.googleAnalytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', '{{ .Site.Params.googleAnalytics }}');
</script>
{{ end }}
<link rel="stylesheet" type="text/css" href="/css/tailwind.min.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
</head>

View file

@ -0,0 +1,7 @@
<div
class="bg-cover bg-center flex justify-start min-h-96 bg-[url('/img/wide.webp')]"
>
<h1 class="ml-16 mb-8 place-self-center text-white font-bold text-3xl">
{{ .Site.Title }}
</h1>
</div>

View file

@ -0,0 +1,11 @@
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
<i data-feather="calendar"></i> <time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
{{ partial "social.html" . }}
{{ with .Params.tags }}
<i data-feather="tag"></i>
{{ range . }}
{{ $href := print (absURL "tags/") (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">{{ . }}</a>
{{ end }}
{{ end }}

View file

@ -0,0 +1,7 @@
<nav class="h-8 flex justify-end gap-4">
{{ range .Site.Menus.main }}
<a class="" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }} {{ $text }}
</a>
{{ end }}
</nav>

View file

@ -0,0 +1,9 @@
<span id="social">
<i data-feather="share-2"></i></a>
<a href="https://twitter.com/share?url={{ .Permalink }}&text={{ .Title }}&via={{ .Site.Social.twitter }}"
class="btn btn-sm btn-outline-dark share-btn" data-show-count="false" aria-label="Share on Twitter">
<i class="feather-16" data-feather="twitter"></i></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}&summary={{ .Summary | plainify }}&source=Retrolog.io"
class="btn btn-sm btn-outline-dark share-btn" data-show-count="false" aria-label="Share on LinkedIn">
<i class="feather-16" data-feather="linkedin"></i></a>
</span>

View file

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB