mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Fix nav data
- Uppercase - Add standard metada to "about" page.
This commit is contained in:
parent
e9ace710eb
commit
bdc302aafd
3 changed files with 24 additions and 19 deletions
|
@ -27,28 +27,28 @@ nick = "Seirdy"
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "posts"
|
identifier = "posts"
|
||||||
name = "posts"
|
name = "Posts"
|
||||||
title = "posts"
|
title = "posts"
|
||||||
url = "/posts.html"
|
url = "/posts.html"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "about"
|
name = "About"
|
||||||
title = "about"
|
title = "about"
|
||||||
url = "/about.html"
|
url = "/about.html"
|
||||||
weight = 20
|
weight = 20
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "resume"
|
identifier = "resume"
|
||||||
name = "resume"
|
name = "Resume"
|
||||||
title = "resume"
|
title = "resume"
|
||||||
url = "/resume.html"
|
url = "/resume.html"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "rss"
|
identifier = "rss"
|
||||||
name = "rss"
|
name = "RSS"
|
||||||
title = "rss"
|
title = "rss"
|
||||||
url = "/posts/index.xml"
|
url = "/posts/index.xml"
|
||||||
weight = 40
|
weight = 40
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
date: 2020-10-30
|
date: 2020-10-30
|
||||||
layout: post
|
layout: post
|
||||||
title: Seirdy (Rohan Kumar)
|
title: About Seirdy (Rohan Kumar)
|
||||||
---
|
---
|
||||||
Rohan Kumar : He/Him : Age 21
|
Rohan Kumar : He/Him : Age 21
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,26 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div itemscope itemtype="https://schema.org/BlogPosting" class="h-entry">
|
<div itemprop="blogPost mainEntity" itemscope itemtype="https://schema.org/BlogPosting">
|
||||||
<article itemprop="mainEntityOfPage">
|
<article class="h-entry hentry">
|
||||||
<header id="post-header">
|
<header id="post-header">
|
||||||
<h1 itemprop="name headline" class="p-name">{{ .Title }}</h1>
|
<h1 itemprop="name headline" class="p-name entry-title">{{ .Title }}</h1>
|
||||||
{{ $lastmod := .Lastmod -}}
|
<span class="dateline">
|
||||||
{{ if lt .Date $lastmod -}}
|
Posted <time itemprop="datePublished" class="dt-published published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" title="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
|
||||||
Originally posted <time class="dt-published" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" title="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time> by {{- partial "indieweb-author.html" -}} on his <a class="u-url" href="https://seirdy.one{{ .RelPermalink }}">website</a>
|
</span>
|
||||||
{{- with .OutputFormats.Get "gemtext" }}
|
<span class="byline">
|
||||||
|
by {{- partial "indieweb-author.html" -}}</span> on his <a rel="canonical" itemprop="mainEntityOfPage" class="u-url url" href="https://seirdy.one{{ .RelPermalink }}">Website</a>
|
||||||
|
{{ with .OutputFormats.Get "gemtext" -}}
|
||||||
and <a rel="syndication" class="u-syndication" href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">Gemini capsule</a>
|
and <a rel="syndication" class="u-syndication" href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">Gemini capsule</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{ if lt .Date .Lastmod -}}
|
||||||
<br>
|
<br>
|
||||||
Last updated <time itemprop="dateModified" class="dt-updated" datetime="{{ $lastmod.Format "2006-01-02T15:04:05Z07:00" }}" title="{{ $lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02" }}</time>. <a href="{{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }}">Changelog</a>
|
Last updated <time itemprop="dateModified" class="dt-updated updated" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}" title="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02" }}</time>. <a href="{{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }}">Changelog</a>
|
||||||
{{ else -}}
|
|
||||||
Posted <a class="u-url" href="https://seirdy.one{{ .RelPermalink }}"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" title="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time></a> by {{- partial "indieweb-author.html" -}}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<br>
|
||||||
|
<small>
|
||||||
|
<span itemprop="wordCount">{{ .WordCount }}</span> words, a <span itemprop="timeRequired" content="PT{{ .ReadingTime }}M">{{ .ReadingTime }} minute</span> read
|
||||||
|
</small>
|
||||||
</header>
|
</header>
|
||||||
<section class="e-content" itemprop="articleBody">
|
<section class="e-content entry-content" itemprop="articleBody">
|
||||||
{{ partial "processed-content" . -}}
|
{{ partial "processed-content" . -}}
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in a new issue