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

github.com/rhnvrm/bodhi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/list_preview.html')
-rw-r--r--layouts/partials/list_preview.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/partials/list_preview.html b/layouts/partials/list_preview.html
new file mode 100644
index 0000000..7adae6b
--- /dev/null
+++ b/layouts/partials/list_preview.html
@@ -0,0 +1,15 @@
+<h2>
+ <a href="{{ .RelPermalink }}">{{.Title}}{{ if .Draft }}<sup class="draft-label">DRAFT</sup>{{ end }}</a>
+</h2>
+
+{{ if in (slice "single" "") .Layout }}
+{{ partial "display_meta.html" . }}
+{{ end }}
+
+<div>
+{{ if isset .Params "description" }}
+ {{ .Description }}
+{{ else }}
+ {{ .Summary }}
+{{ end }}
+</div>