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

github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurali <murali@mmrath.com>2019-06-01 10:22:01 +0300
committerGitHub <noreply@github.com>2019-06-01 10:22:01 +0300
commitac4c4d34e360250ceca2eb70462afdc4df6919ad (patch)
tree08d05317232c2ee4ad738674470cca44a1f067f9 /layouts/_default
parent4a7fb5a8e2eb1bb2b1230917b17e92fa47a16a45 (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/_default')
-rw-r--r--layouts/_default/list.html26
-rw-r--r--layouts/_default/single.content.html2
-rw-r--r--layouts/_default/single.html11
-rw-r--r--layouts/_default/summary.content.html4
-rw-r--r--layouts/_default/summary.hat.html2
5 files changed, 24 insertions, 21 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index a8c9ff2..8224e08 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,13 +1,17 @@
{{ partial "head" . }}
-<div class="container post-container">
- <header>
- {{ partial "content/h1-title" . }}
- </header>
- <ul class="container">
- {{ range $index, .Paginator.Pages }}
- <li>{{ partial "content/title-link" . }}</li>
- {{ end }}
- </ul>
- {{ partial "content/pagination.html" . }}
+
+<div class="container">
+ <section>
+ <div class="section-title">
+ <span>{{ if .IsPage }}{{ if .Draft }}{{ .Site.Data.Strings.draft }} :: {{ end }}{{ end }}{{ .Title }}</span>
+ </div>
+ <div class="row px-2">
+ {{ range $index, .Paginator.Pages }}
+ {{ partial "post/card" . }}
+ {{ end }}
+ <!-- begin post -->
+ </div>
+ </section>
</div>
-{{ partial "foot" . }}
+
+{{ partial "foot" . }} \ No newline at end of file
diff --git a/layouts/_default/single.content.html b/layouts/_default/single.content.html
index e4758c3..9722d39 100644
--- a/layouts/_default/single.content.html
+++ b/layouts/_default/single.content.html
@@ -1,3 +1,3 @@
-<div class="content pt-2">
+<div class="article-body">
{{ .Content }}
</div>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5550bb0..7bcf64c 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,14 +1,13 @@
{{ partial "head" . }}
-<div class="container p-a-0">
- <div class="row m-l-0 m-r-0">
- <div class="col-xs-12 col-md-9 post-container">
+<div class="container">
+ <div class="row">
+ <!-- End Fixed Left Share -->
+ <div class="offset-lg-1 col-lg-10 col-xs-12">
{{ .Render "single.hat" }}
{{ .Render "single.content" }}
{{ .Render "single.boot" }}
</div>
- <div class="col-xs-12 col-md-3">
- {{ partial "content/sidebar" .}}
- </div>
</div>
+
</div>
{{ partial "foot" . }}
diff --git a/layouts/_default/summary.content.html b/layouts/_default/summary.content.html
index 24a2091..ad2f5d5 100644
--- a/layouts/_default/summary.content.html
+++ b/layouts/_default/summary.content.html
@@ -1,4 +1,4 @@
-<p>
+<div class="article-body">
{{ if .IsPage }}
{{ if .Description }}
{{ .Description | markdownify }}
@@ -6,4 +6,4 @@
{{ .Summary }}
{{ end }}
{{ end }}
-</p>
+</div>
diff --git a/layouts/_default/summary.hat.html b/layouts/_default/summary.hat.html
index 57a339e..2b2d4eb 100644
--- a/layouts/_default/summary.hat.html
+++ b/layouts/_default/summary.hat.html
@@ -1,3 +1,3 @@
<h3>
- <a href="{{ .Permalink }}">{{ if .IsPage }}{{ if .Draft }}{{ .Site.Data.Strings.draft }} :: {{ end }}{{ end }}{{ .Title }}</a>
+ <a href="{{ .Permalink }}">{{ if .IsPage }}{{ if .Draft }}{{ .Site.Data.Strings.draft }} :: {{ end }}{{ end }}{{ .Title }}</a>
</h3>