mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +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.main]]
|
||||
identifier = "posts"
|
||||
name = "posts"
|
||||
name = "Posts"
|
||||
title = "posts"
|
||||
url = "/posts.html"
|
||||
weight = 10
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "about"
|
||||
name = "About"
|
||||
title = "about"
|
||||
url = "/about.html"
|
||||
weight = 20
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "resume"
|
||||
name = "resume"
|
||||
name = "Resume"
|
||||
title = "resume"
|
||||
url = "/resume.html"
|
||||
weight = 30
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "rss"
|
||||
name = "rss"
|
||||
name = "RSS"
|
||||
title = "rss"
|
||||
url = "/posts/index.xml"
|
||||
weight = 40
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
date: 2020-10-30
|
||||
layout: post
|
||||
title: Seirdy (Rohan Kumar)
|
||||
title: About Seirdy (Rohan Kumar)
|
||||
---
|
||||
Rohan Kumar : He/Him : Age 21
|
||||
|
||||
|
|
|
@ -1,21 +1,26 @@
|
|||
{{ define "main" }}
|
||||
<div itemscope itemtype="https://schema.org/BlogPosting" class="h-entry">
|
||||
<article itemprop="mainEntityOfPage">
|
||||
<div itemprop="blogPost mainEntity" itemscope itemtype="https://schema.org/BlogPosting">
|
||||
<article class="h-entry hentry">
|
||||
<header id="post-header">
|
||||
<h1 itemprop="name headline" class="p-name">{{ .Title }}</h1>
|
||||
{{ $lastmod := .Lastmod -}}
|
||||
{{ if lt .Date $lastmod -}}
|
||||
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>
|
||||
{{- with .OutputFormats.Get "gemtext" }}
|
||||
and <a rel="syndication" class="u-syndication" href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">Gemini capsule</a>
|
||||
{{- end -}}
|
||||
<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>
|
||||
{{ 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" -}}
|
||||
<h1 itemprop="name headline" class="p-name entry-title">{{ .Title }}</h1>
|
||||
<span class="dateline">
|
||||
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>
|
||||
</span>
|
||||
<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>
|
||||
{{- end -}}
|
||||
{{ if lt .Date .Lastmod -}}
|
||||
<br>
|
||||
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>
|
||||
{{ end }}
|
||||
<br>
|
||||
<small>
|
||||
<span itemprop="wordCount">{{ .WordCount }}</span> words, a <span itemprop="timeRequired" content="PT{{ .ReadingTime }}M">{{ .ReadingTime }} minute</span> read
|
||||
</small>
|
||||
</header>
|
||||
<section class="e-content" itemprop="articleBody">
|
||||
<section class="e-content entry-content" itemprop="articleBody">
|
||||
{{ partial "processed-content" . -}}
|
||||
</section>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue