1
0
Fork 0

Add proper u-url and and p-name to entry list

This commit is contained in:
Sebastian Schulze 2020-07-08 21:04:18 +02:00
parent 9bb61e1612
commit ee29041882
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
8 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<a href="{{.Permalink}}">
<h2>{{ partial "social_logo" . }}{{.Title}}</h2>
<a class="u-url" href="{{.Permalink}}">
<h2 class="p-name">{{ partial "social_logo" . }}{{.Title}}</h2>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
</a>

View File

@ -1,5 +1,5 @@
<a href="{{.Permalink}}" class="summary instagram_image">
<h2><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | default "Untitled" }}</h2>
<a href="{{.Permalink}}" class="summary instagram_image u-url">
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | default "Untitled" }}</h2>
<p><img src="{{ .Params.media_url }}" ></p>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
<a class="hidden u-syndication syn-link" rel="syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>

View File

@ -1,5 +1,5 @@
<a href="{{.Permalink}}" class="summary instagram_video">
<h2><span class="social_logo">{{ partial "social_logo" . }}</span> {{.Title}}</h2>
<a href="{{.Permalink}}" class="summary instagram_video u-url">
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span> {{.Title}}</h2>
{{ if .Params.preview_url }}<p><img src="{{ .Params.preview_url }}" ></p>{{ end }}
<small>{{ .Date.Format "January, 02th 2006" }}</small>
<hr/>

View File

@ -1,4 +1,4 @@
<a href="{{.Permalink}}">
<h2><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | truncate 50}}</h2>
<a class="u-url" href="{{.Permalink}}">
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | truncate 50}}</h2>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
</a>

View File

@ -1,4 +1,4 @@
<a href="{{.Permalink}}">
<h2><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | truncate 50}}</h2>
<a class="u-url" href="{{.Permalink}}">
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | truncate 50}}</h2>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
</a>

View File

@ -6,7 +6,7 @@
{{ $paginator := .Paginate ((where .Data.Pages "Section" "posts").GroupByDate "January 2006") 100}}
{{ range $paginator.PageGroups }}
<h2>{{ .Key }}</h2>
<div class="posts summary clearfix h-entry">
<div class="posts summary clearfix">
{{ range .Pages.ByDate.Reverse }}
{{ .Render "summary" }}
{{ end }}

View File

@ -1,4 +1,4 @@
<a href="{{.Permalink}}" class="spotify_like">
<h2><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | truncate 50}}</h2>
<a class="u-url" href="{{.Permalink}}" class="spotify_like">
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | truncate 50}}</h2>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
</a>

View File

@ -1,4 +1,4 @@
<a href="{{.Permalink}}">
<h2>{{ partial "social_logo" . }} {{.Title}}</h2>
<a class="u-url" href="{{.Permalink}}">
<h2 class="p-name">{{ partial "social_logo" . }} {{.Title}}</h2>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
</a>