Updating post html
Moving tags to top of page
This commit is contained in:
@@ -32,13 +32,27 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- with $page.Params.tags -}}
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="tags my-3">
|
||||||
|
{{- range . -}}
|
||||||
|
<a class="badge badge-pill badge-light border mr-2" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
|
||||||
|
<i class="fas fa-tag mr-2"></i>{{ . }}
|
||||||
|
</a>
|
||||||
|
{{- end -}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ $page.Content }}
|
{{ $page.Content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{- with $page.Params.tags -}}
|
<!-- {{- with $page.Params.tags -}}
|
||||||
<div class="tags my-3">
|
<div class="tags my-3">
|
||||||
{{- range . -}}
|
{{- range . -}}
|
||||||
<a class="badge badge-pill badge-light border mr-2" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
|
<a class="badge badge-pill badge-light border mr-2" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
|
||||||
@@ -46,7 +60,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}} -->
|
||||||
|
|
||||||
{{ partial "sharer.html" . }}
|
{{ partial "sharer.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user