From 1613134c30528e9979264039a3bcab9ecfc64bba Mon Sep 17 00:00:00 2001 From: Durand D'souza Date: Sun, 23 Oct 2016 13:04:33 +0100 Subject: Added screenshot thumbnail and removed read-more template. --- README.md | 2 +- exampleSite/static/images/screenshot.png | Bin 569139 -> 0 bytes images/screenshot.png | Bin 0 -> 364269 bytes images/tn.png | Bin 0 -> 179232 bytes layouts/_default/single.html | 1 - layouts/partials/read-more.html | 19 ------------------- 6 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 exampleSite/static/images/screenshot.png create mode 100644 images/screenshot.png create mode 100644 images/tn.png delete mode 100644 layouts/partials/read-more.html diff --git a/README.md b/README.md index 05f8bfe..f0f1f0f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # HPSTR -![Them screenshot](https://raw.githubusercontent.com/dldx/hpstr-hugo-theme/master/exampleSite/static/images/screenshot.png) +![Theme screenshot](https://raw.githubusercontent.com/dldx/hpstr-hugo-theme/master/images/screenshot.png) This is a port of the [HPSTR theme](http://github.com/mmistakes/hpstr-jekyll-theme) to [Hugo](https://gohugo.io). All the original features are intact and described below. Credit for the theme goes entirely to [Michael Rose](http://github.com/mmistakes). diff --git a/exampleSite/static/images/screenshot.png b/exampleSite/static/images/screenshot.png deleted file mode 100644 index a680285..0000000 Binary files a/exampleSite/static/images/screenshot.png and /dev/null differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..797be89 Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 0000000..654d0c6 Binary files /dev/null and b/images/tn.png differ diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 75442a9..b45d8a0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -43,7 +43,6 @@ {{ if ne .Params.comments false }}
{{ partial "disqus.html" . }}
{{ end }} - {{ partial "foot.html" . }} diff --git a/layouts/partials/read-more.html b/layouts/partials/read-more.html deleted file mode 100644 index 97afc0f..0000000 --- a/layouts/partials/read-more.html +++ /dev/null @@ -1,19 +0,0 @@ -
- {% for post in site.related_posts limit:1 %} -
- Read More -
-
-

{{ post.title }}

-

{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 140 }}…{% endif %} Continue reading

-
- {% endfor %} -
- {% for post in site.related_posts limit:2 offset:1 %} -
-

{{ post.title }}

- Published on {{ post.date | date: "%B %d, %Y" }} -
- {% endfor %} -
-
\ No newline at end of file -- cgit v1.2.3