<div class="col-lg-8 offset-lg-2 text-center"> | <div class="col-lg-8 offset-lg-2 text-center"> | ||||
<h1>{{ .Title }}</h1> | <h1>{{ .Title }}</h1> | ||||
<ul class="list-inline mb-50"> | <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> | <li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</li> | ||||
</ul> | </ul> | ||||
<img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image"> | <img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image"> | ||||
</div> | </div> | ||||
</section> | </section> | ||||
{{ end }} | |||||
{{ end }} |
</div> | </div> | ||||
{{"<!-- /section title -->" | safeHTML}} | {{"<!-- /section title -->" | safeHTML}} | ||||
{{ range first 3 .Site.RegularPages }} | |||||
{{ range first 3 (where .Site.RegularPages "Section" "==" "blog")}} | |||||
{{ .Render "article"}} | {{ .Render "article"}} | ||||
{{ end }} | {{ end }} | ||||
</div> | </div> | ||||
</section> | </section> | ||||
{{"<!-- /blog -->" | safeHTML}} | {{"<!-- /blog -->" | safeHTML}} | ||||
{{ end }} | |||||
{{ end }} |
{{ $styles := resources.Get "css/style.css" | minify}} | {{ $styles := resources.Get "css/style.css" | minify}} | ||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen"> | <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 }} | {{ "<!--Favicon-->" | safeHTML }} | ||||
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> | <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"> | <link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> |