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

single_article.html « partials « layouts - github.com/balaramadurai/hugo-travelify-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a25867d02345bf95419da3a432058cb52b552ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{{ if .Site.Params.widgets }}
{{ if (not .Params.disable_profile) | and (not .Params.disable_widgets) }}
<div id="primary" class="no-margin-left">
{{ end }}
{{ end }}

    <div id="content">	
	<section id="post" class="post type-post status-publish format-standard has-post-thumbnail hentry">
	    <article>
		<div class="article-inner">
		    {{ partial "article_header" . }}
		    {{ partial "article_footer" . }}
		    {{ partial "share" . }}
		</div>
		<div class="entry-content" itemprop="articleBody">
		    {{ .Content }}
		    <!-- -    {{ partial "share" . }}  -->	
		</div>
		{{ if (.Params.tags) }}
		<div class="tags">
		    {{ range $k, $tag := .Params.tags }}
			{{ if $k }} &middot; {{ end }}
			{{ with site.GetPage (printf "/%s/%s" "tags" ($tag | urlize)) }}
		    <a href="{{ .Permalink }}" rel="tag">{{ $tag }}</a>
			{{ end }}
		    {{ end }}
		</div>
		{{ end }}
		{{ partial "prev_next_post" . }}
	    </article>
	    
	    {{ if and (and (not (eq .Site.Params.privacy.DisqusShortname "")) (not .Params.disable_comments)) (not .Site.Params.privacy.enable) }}
	    <section id="comments">
		<div id="disqus_thread">
		    {{ template "_internal/disqus.html" . }}
		</div>
	    </section>
	    {{ end }}
	</section>
	
    </div><!-- #content -->
{{ if .Site.Params.widgets }}
{{ if (not .Params.disable_profile) | and (not .Params.disable_widgets) }}
</div><!-- #primary -->
{{ partial "widgets" . }}
{{ end }}
{{ end }}