From 406c5961cbce9b9defde833e3c68c73a0a05536e Mon Sep 17 00:00:00 2001 From: vimux Date: Fri, 14 Oct 2016 23:41:10 +0300 Subject: Initial commit --- layouts/partials/article.html | 0 layouts/partials/footer.html | 5 +++++ layouts/partials/header.html | 23 +++++++++++++++++++++++ layouts/partials/pagination.html | 9 +++++++++ layouts/partials/sidebar.html | 14 ++++++++++++++ layouts/partials/summary.html | 13 +++++++++++++ 6 files changed, 64 insertions(+) create mode 100644 layouts/partials/article.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/pagination.html create mode 100644 layouts/partials/sidebar.html create mode 100644 layouts/partials/summary.html (limited to 'layouts/partials') diff --git a/layouts/partials/article.html b/layouts/partials/article.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..7e7d2b1 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..63e6e84 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,23 @@ + + + + + + + {{ .Title }} + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.author }}{{ end }} + {{ if .RSSlink -}}{{- end }} + {{ .Hugo.Generator }} + + +
+ {{ .Site.Title }} + +
\ No newline at end of file diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html new file mode 100644 index 0000000..892afec --- /dev/null +++ b/layouts/partials/pagination.html @@ -0,0 +1,9 @@ +
+{{ if .Paginator.HasPrev }} + Previous Page +{{ end }} +{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }} +{{ if .Paginator.HasNext }} + Next Page +{{ end }} +
\ No newline at end of file diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html new file mode 100644 index 0000000..e941767 --- /dev/null +++ b/layouts/partials/sidebar.html @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html new file mode 100644 index 0000000..5315fd4 --- /dev/null +++ b/layouts/partials/summary.html @@ -0,0 +1,13 @@ +
+

{{ .Title }}

+ + {{ range .Params.tags }} + {{ . }} + {{ end }} +
+ {{ .Summary }} + {{ if .Truncated }} + Read more... + {{ end }} +
+
\ No newline at end of file -- cgit v1.2.3