added firebase support and views to theme

This commit is contained in:
Nuno Coração
2022-09-12 12:49:52 +01:00
parent d0b0dfe002
commit 11320067eb
581 changed files with 1439 additions and 79715 deletions
+4
View File
@@ -28,6 +28,10 @@
{{ $meta.Add "partials" (slice (partial "meta/reading-time.html" .)) }}
{{ end }}
{{ if (.Params.showViews | default (.Site.Params.article.showViews | default true)) }}
{{ $meta.Add "partials" (slice (partial "meta/views.html" .)) }}
{{ end }}
{{ if and (eq $scope "single") (.Params.showEdit | default (.Site.Params.article.showEdit | default false)) }}
{{ $meta.Add "partials" (slice (partial "meta/edit.html" .)) }}
{{ end }}