theme updates

This commit is contained in:
yequari 2023-04-17 15:56:22 -07:00
parent 4e7aebe824
commit 330851c010
5 changed files with 16 additions and 15 deletions

View File

@ -1,14 +1,11 @@
{{ define "main" }}
<div id="sidebar"></div>
<div id="content">
<div id="content" class="posts h-feed hfeed">
<h1>{{ .Title }}</h1>
{{ range .Pages.ByPublishDate.Reverse }}
<p>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<a class="summary" href="{{ .RelPermalink }}">
<p>{{ .Summary }}</p>
</a>
</p>
<ul>
{{ range .Pages }}
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
{{ end }}
</ul>
</div>
{{ end }}

View File

@ -3,7 +3,7 @@
<article class="h-entry">
<h1 class="p-name">{{ .Title }}</h1>
<a class="p-author h-card hidden" href="https://yequari.com">yequari</a>
<time class="dt-published" datetime={{.PublishDate }}>{{ .PublishDate }}</time>
<time class="dt-published" datetime={{.PublishDate }}>{{ .Lastmod.Format "Mon, Jan 02, 2006" }}</time>
<a class="u-url permalink" href={{ .RelPermalink }}>Permalink</a>
<div class="e-content">
{{ .Content }}

View File

@ -9,7 +9,4 @@
<li class="social"><a href="/blog/atom.xml">RSS</a></li>
</ul>
</div>
<div class="yw-widget-text yw-raw" data-yw-url="https://yequari.com">
<script src="https://yesterweb.org/js/widget.js"></script>
</div>
</div>

View File

@ -6,9 +6,7 @@
<ul class="nav">
<li class="nav"><a href="/">HOME</a></li>
<li class="nav"><a href="/posts">BLOG</a></li>
<li class="nav"><a href="/tech">TECH</a></li>
<li class="nav"><a href="/transformers">TRANSFORMERS</a></li>
<li class="nav"><a href="/now">ABOUT</a></li>
<li class="nav"><a href="/now">NOW</a></li>
<li class="nav"><a href="/links">LINKS</a></li>
</ul>
</div>

View File

@ -234,6 +234,15 @@ pre code{
text-align: center;
}
ul.pagination {
list-style: none;
}
li.page-item {
display: inline;
padding: 0.3rem;
}
/*
decorative stuff :)
*/