1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-07 21:16:00 +02:00

Add Vim Modeline Comments to Files (#18)

* Add Vim modeline comments to all relevent template files.

* Add Vim modeline comments to a few other files.

* Move modeline comments inside the template definitions in list and single.

For some odd reason, putting them outside breaks the page generation.

* Use template comments for modeline comments in templates.

* Fix form 2 modelines.
This commit is contained in:
DeedleFake
2016-11-24 07:33:56 -05:00
committed by Alan Orth
parent b83b1683a7
commit 663f3db2a0
12 changed files with 24 additions and 0 deletions

View File

@ -22,3 +22,5 @@ window.cookieconsent.initialise({
"position": "bottom-right"
})});
</script>
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -15,3 +15,5 @@
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -20,3 +20,5 @@
{{ end }}
{{ .Hugo.Generator }}
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -4,3 +4,5 @@
{{ if .Params.tags }}
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;{{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}, {{ end }}<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" rel="tag">{{ . }}</a>{{ end }}
{{ end }}
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -11,3 +11,4 @@
</nav>
</footer>
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -28,3 +28,5 @@
</section>
{{ end }}
</aside><!-- /.blog-sidebar -->
{{- /* vim: set ts=2 sw=2 et: */}}