@@ -8,7 +8,7 @@ | |||
<div class="col-lg-8 offset-lg-2 text-center"> | |||
<h1>{{ .Title }}</h1> | |||
<ul class="list-inline mb-50"> | |||
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author }}</a></li> | |||
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li> | |||
<li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</li> | |||
</ul> | |||
<img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image"> | |||
@@ -29,4 +29,4 @@ | |||
</div> | |||
</section> | |||
{{ end }} | |||
{{ end }} |
@@ -13,7 +13,7 @@ | |||
</div> | |||
{{"<!-- /section title -->" | safeHTML}} | |||
{{ range first 3 .Site.RegularPages }} | |||
{{ range first 3 (where .Site.RegularPages "Section" "==" "blog")}} | |||
{{ .Render "article"}} | |||
{{ end }} | |||
@@ -25,4 +25,4 @@ | |||
</div> | |||
</section> | |||
{{"<!-- /blog -->" | safeHTML}} | |||
{{ end }} | |||
{{ end }} |
@@ -19,6 +19,9 @@ | |||
{{ $styles := resources.Get "css/style.css" | minify}} | |||
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen"> | |||
{{"<!-- Custom stylesheet - for your changes -->" |safeHTML}} | |||
<link rel="stylesheet" href="{{ "css/custom.css" | relURL}} " media="screen"> | |||
{{ "<!--Favicon-->" | safeHTML }} | |||
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> | |||
<link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> |