diff options
author | Murali <murali@mmrath.com> | 2019-06-01 10:22:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 10:22:01 +0300 |
commit | ac4c4d34e360250ceca2eb70462afdc4df6919ad (patch) | |
tree | 08d05317232c2ee4ad738674470cca44a1f067f9 /layouts/partials/content/related-posts.html | |
parent | 4a7fb5a8e2eb1bb2b1230917b17e92fa47a16a45 (diff) |
Medium clone (#23)
* Medium like look and feel
* discuss comment count
* minor changes
* misc changes
* layout changes for recents
* theme changes
* theme changes
* font size
* add headings
* font change
* minor change to title
* theme change
* remove justify
* font size normalization
* font again
* themeing changes
* upgrade bootstrap
Diffstat (limited to 'layouts/partials/content/related-posts.html')
-rw-r--r-- | layouts/partials/content/related-posts.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/content/related-posts.html b/layouts/partials/content/related-posts.html new file mode 100644 index 0000000..2303561 --- /dev/null +++ b/layouts/partials/content/related-posts.html @@ -0,0 +1,12 @@ +{{ $related := .Site.RegularPages.Related . | first 3 }} {{ with $related }} +<div class="container"> + <section> + <div class="section-title"> + <span>Posts</span> + </div> + <div class="row px-2"> + {{ range . }} {{ partial "post/card" . }} {{ end }} + </div> + </section> +</div> +{{ end }}
\ No newline at end of file |