V2.00 upgrade

This commit is contained in:
gurusabarish
2020-10-16 23:47:58 +05:30
parent ca269b37bf
commit fb55563b33
41 changed files with 305 additions and 873 deletions
+4 -6
View File
@@ -1,11 +1,11 @@
{{ define "head"}}
<meta name="description" content="blog of {{ .Site.Title}}" />
<title>blog</title>
<title>{{ .Title }}</title>
{{ end }}
{{ define "main" }}
<section class="bg-light">
<section class="bg-white">
<div class="container-fluid">
<div class="row pt-3 justify-content-center">
@@ -16,10 +16,8 @@
{{ if .Params.tags }}
<h5 class="card-header m-0">
{{ if .Params.tags }}
{{ range $tags := .Params.tags }}
{{ with $.Site.GetPage (printf "/tags/%s" $tags) }}
<a href="{{ .RelPermalink }}" class="btn btn-info btn-rounded mb-2">{{ $tags }}</a>
{{ end }}
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="btn btn-info btn-rounded mb-2">{{ . }}</a>
{{ end }}
{{ end }}
</h5>