Browse Source

fixing title on frontpage

master
jk 4 years ago
parent
commit
c8d9ec5e66
  1. 2
      themes/nipponalba/layouts/index.html

2
themes/nipponalba/layouts/index.html

@ -34,7 +34,7 @@
<h1>Latest post</h1> <h1>Latest post</h1>
{{ range (first 1 (where .Site.RegularPages "Type" "!=" "response")) }} {{ range (first 1 (where .Site.RegularPages "Type" "!=" "response")) }}
<article class="post h-entry entry"> <article class="post h-entry entry">
{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="p-name entry-title"><a href="{{ .Permalink}}" class="u-url">{{ .Title }}</a></h3>
{{ if eq .Type "article"}}{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="p-name entry-title"><a href="{{ .Permalink}}" class="u-url">{{ .Title }}</a></h3>{{ end }}
<section class="e-content">{{ .Content }} <section class="e-content">{{ .Content }}
{{ if eq .Type "photo"}} {{ if eq .Type "photo"}}
<section class="photos"> <section class="photos">