1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-06-26 16:13:45 +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

@ -97,3 +97,5 @@ paginate = 5
# Languages to render
#[languages.en]
#[languages.bg]
# vim: ts=2 sw=2 et

View File

@ -84,3 +84,5 @@
</body>
</html>
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -21,4 +21,7 @@
{{ end }}
</nav>
{{ end }}
{{ end }}
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -29,3 +29,5 @@
{{ end }}
{{ end }}
{{- /* vim: set ts=2 sw=2 et: */}}

View File

@ -8,3 +8,5 @@
{{ .Summary }}
<a href='{{ .Permalink }}'>{{ i18n "readMore" }}</a>
</article> <!-- /.blog-post -->
{{- /* vim: set ts=2 sw=2 et: */}}

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: */}}

View File

@ -14,3 +14,5 @@ min_version = 0.17
[original]
author = "mdo"
homepage = "https://v4-alpha.getbootstrap.com/examples/blog/"
# vim: ts=2 sw=2 et