Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/dashboard/single.html')
-rw-r--r--layouts/dashboard/single.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layouts/dashboard/single.html b/layouts/dashboard/single.html
new file mode 100644
index 0000000..d60088e
--- /dev/null
+++ b/layouts/dashboard/single.html
@@ -0,0 +1,27 @@
+{{ partial "header" . }}
+{{ partial "nav" . }}
+<div class="container">
+ <section class="section">
+ <h1>Dashboard: {{ .Title }}</h1>
+ <div class="card card-inverse card-success mb-3 text-center">
+ <div class="card-block">
+ <h1 class="card-title"><i class="fa fa-sticky-note fa-3x" aria-hidden="true"></i></h1>
+ <h3 class="card-title">
+ {{ $posts := (where .Site.Pages "Section" "post") }}
+ {{ len $posts }} Posts
+ </h3>
+ </div>
+ </div>
+ <div class="card card-inverse card-primary mb-3 text-center">
+ <div class="card-block">
+ <h1 class="card-title"><i class="fa fa-tags" aria-hidden="true"></i> Tags</h1>
+ <p class="card-text">
+ {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
+ <li><a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a></li>
+ {{ end }}
+ </p>
+ </div>
+ </div>
+ </section>
+</div>
+{{ partial "footer" . }} \ No newline at end of file