mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01: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:
parent
b83b1683a7
commit
663f3db2a0
@ -97,3 +97,5 @@ paginate = 5
|
||||
# Languages to render
|
||||
#[languages.en]
|
||||
#[languages.bg]
|
||||
|
||||
# vim: ts=2 sw=2 et
|
||||
|
@ -84,3 +84,5 @@
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -21,4 +21,7 @@
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -29,3 +29,5 @@
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -8,3 +8,5 @@
|
||||
{{ .Summary }}
|
||||
<a href='{{ .Permalink }}'>{{ i18n "readMore" }}</a>
|
||||
</article> <!-- /.blog-post -->
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -22,3 +22,5 @@ window.cookieconsent.initialise({
|
||||
"position": "bottom-right"
|
||||
})});
|
||||
</script>
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -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: */}}
|
||||
|
@ -20,3 +20,5 @@
|
||||
{{ end }}
|
||||
|
||||
{{ .Hugo.Generator }}
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -4,3 +4,5 @@
|
||||
{{ if .Params.tags }}
|
||||
<i class="fa fa-tag" aria-hidden="true"></i> {{ 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: */}}
|
||||
|
@ -11,3 +11,4 @@
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -28,3 +28,5 @@
|
||||
</section>
|
||||
{{ end }}
|
||||
</aside><!-- /.blog-sidebar -->
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user