more h-entry classes

This commit is contained in:
Marvin Steadfast 2020-03-11 18:34:46 +01:00
parent a0a7e9e344
commit 824d3dd20c
2 changed files with 5 additions and 5 deletions

View File

@ -1,18 +1,18 @@
<article class="h-entry">
<h1 class="p-name"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
<h1 class="p-name"><a class="u-url" href="{{ .Permalink }}">{{ .Title }}</a></h1>
{{ if (isset .Params "date") }}
<p>
<small>
{{ .Date.Format "02.01.2006 15:04" }}
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02 15:04:05" }}">{{ .Date.Format "02.01.2006 15:04" }}</time>
{{ if .GitInfo }}/// <a href="https://github.com/xsteadfastx/blog/commit/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>{{ end }}
{{ if .Params.tags }}///{{ end }}
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
<a class="{{ . }}" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</small>
{{ end }}
</p>
<section class="content e-content">
<section class="e-content">
{{ .Content}}
</section>
</article>

View File

@ -117,7 +117,7 @@ main section {
padding: 1.0rem 1.0rem;
}
main article .content {
main article .e-content {
padding-left: 0px;
}