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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Moreno <adrian@morenomartinez.com>2016-08-24 16:50:24 +0300
committerAdrian Moreno <adrian@morenomartinez.com>2016-08-24 16:50:24 +0300
commit12225a50bf043ff73639d932da2d7a525e53aced (patch)
tree285af3a1bea74c7cadf83ff486d9d539a1db7781 /layouts/partials/blog.html
parentf8650c4acf459ceb23110d718bfce0ecd7fad35d (diff)
Updates blog url from "post" to "blog"
Diffstat (limited to 'layouts/partials/blog.html')
-rw-r--r--layouts/partials/blog.html67
1 files changed, 0 insertions, 67 deletions
diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html
deleted file mode 100644
index 122dcff..0000000
--- a/layouts/partials/blog.html
+++ /dev/null
@@ -1,67 +0,0 @@
-{{ if isset .Site.Params "recent_posts" }}
-{{ if .Site.Params.recent_posts.enable }}
-<section class="bar background-white no-mb">
- <div class="container">
-
- <div class="col-md-12">
- <div class="heading text-center">
- <h2>{{ .Site.Params.recent_posts.title }}</h2>
- </div>
-
- <p class="lead">
- {{ .Site.Params.recent_posts.subtitle }}
- </p>
-
- <!-- *** BLOG HOMEPAGE *** -->
-
- <div class="row">
-
- {{ $posts := .Paginate (where .Data.Pages "Type" "post") }}
- {{ range first 4 $posts.Pages }}
- <div class="col-md-3 col-sm-6">
- <div class="box-image-text blog">
- <div class="top">
- <div class="image">
- {{ if isset .Params "banner" }}
- <img src="{{ .Site.BaseURL}}{{ .Params.banner }}" class="img-responsive" alt="" >
- {{ else }}
- <img src="{{ .Site.BaseURL}}img/placeholder.png" class="img-responsive" alt="">
- {{ end }}
- </div>
- <div class="bg"></div>
- <div class="text">
- <p class="buttons">
- <a href="{{ .Permalink }}" class="btn btn-template-transparent-primary"><i class="fa fa-link"></i> Read more</a>
- </p>
- </div>
- </div>
-
- <div class="content">
- <h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
- {{ if isset .Params "author" }}
- <p class="author-category">By <a href="#">{{ .Params.author }}</a> on {{ .Date.Format "January 2, 2006" }}
- {{ end }}
- </p>
- <p class="intro">{{ .Summary }}</p>
- <p class="read-more">
- <a href="{{ .Permalink }}" class="btn btn-template-main">Continue reading</a>
- </p>
- </div>
- </div>
- <!-- /.box-image-text -->
-
- </div>
- {{ end }}
-
- </div>
- <!-- /.row -->
-
- <!-- *** BLOG HOMEPAGE END *** -->
-
- </div>
- </div>
- <!-- /.container -->
-</section>
-<!-- /.bar -->
-{{ end }}
-{{ end }}