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

single.html « _default « layouts - github.com/appernetic/hugo-nederburg-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 414a808ed49a1aef58f763721cd098046f63aa5e (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{{ define "body" }}

<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
{{ end }}


{{ define "main" }}
  {{ $scratch := newScratch }}
  {{ if .Site.Params.writers }}
    {{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
  {{ else }}
    {{ $scratch.Set "writer" .Site.Params.social | default dict }}
  {{ end }}
  {{ $writer := $scratch.Get "writer" }} 
  <div id="loop-container" class="loop-container">
    {{ if and (isset .Params "image") .Params.image }}
    <div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">

      <div class='featured-image lazy lazy-bg-image' {{ if isset .Site.Params "usepostimgfolder" }} data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }} data-background="{{ .Params.image | absURL }}"{{ end }}>
      </div>
      {{ else }}

      <div class="post type-post status-publish format-standard hentry category-standard category-travel entry full-without-featured odd excerpt-1">

        {{ end }}
        <div class="entry-meta">
          <span class="date">{{ .Date.Format "02 January" }}</span>	<span> / </span>

          <span class="author">
            <a href="{{ $writer.link | default "" | absURL}}" title="Posts by {{ .Params.writer | default "" }}" rel="author">{{ .Params.writer | default ""}}</a>
          </span>


          {{ range .Params.categories }}
          <span class="category">
            <span> / </span>

            <a href="/categories{{ . | relURL }}">{{ . }}</a>
          </span>
          {{ end }}


        </div>
        <div class='entry-header'>
          <h1 class='entry-title'> {{ .Title }}</h1>
        </div>
        <div class="entry-container">
          <div class="entry-content">
            <article>
              {{ .Content }}
            </article>
          </div>
          <!--  <div class="sidebar sidebar-after-post-content" id="sidebar-after-post-content">
          <section id="text-2" class="widget widget_text"><h2 class="widget-title">After Post Content Widget</h2>			<div class="textwidget"><p>This is a widget in the "After Post Content" widget area. It's a great place to include related posts or an email optin form.</p>
        </div>
      </section>	</div>-->
      <div class='entry-meta-bottom'>
        <!--<nav class="further-reading">
        <p class="prev">
        <span>Previous Post</span>
        <a href="https://www.competethemes.com/tracks-live-demo/another-awesome-post/">Another Awesome Post</a>
      </p>
      <p class="next">
      <span>No Newer Posts</span>
      <a href="https://www.competethemes.com/tracks-live-demo">Return to Blog</a>
    </p>
  </nav>-->

  <div class="entry-categories"><p><span>Categories</span>
    {{ range $index, $name := .Params.categories }}
    <a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}" title="View all posts in {{ $name }}">{{ $name }}</a>{{ end }}
  </p>
</div>



<div class="entry-tags"><p><span>Tags</span>
  {{ range $index, $name := .Params.tags }}
  <a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="View all posts tagged {{ $name }}">{{ $name }}</a>
  {{ end }}

</p></div>	</div>
<div class="author-meta">

  <div class="author">
    <img alt='{{ .Params.writer }}' src="https://www.gravatar.com/avatar/{{ md5  $writer.email | default "" }}?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>

    <span>
      Written by:<a href="{{ $writer.link | default "" | absURL}}" title="Posts by {{ .Params.writer }}" rel="author">{{ .Params.writer }}</a>        </span>
    </div>
    <div class="bio">
      {{ range $writer.bio }}
      <p>{{ . | default "" | safeHTML }}</p>
      {{ end }}


      {{ with $writer.facebook }}
      <a class="facebook" target="_blank"
      href="{{ . }}">
      <i class="fa fa-facebook"
      title="facebook icon"></i>
    </a>
    {{end}}

    {{ with $writer.googleplus }}
    <a class="googleplus" target="_blank"
    href="{{ . }}">
    <i class="fa fa-google-plus"
    title="googleplus icon"></i>
  </a>
  {{end}}


  {{ with $writer.twitter }}
  <a class="twitter" target="_blank"
  href="{{ . }}">
  <i class="fa fa-twitter-square"
  title="twitter icon"></i>
</a>
{{end}}
{{ with $writer.linkedin }}
<a class="linkedin" target="_blank"
href="{{ . }}">
<i class="fa fa-linkedin-square"
title="linkedin icon"></i>
</a>
{{end}}

{{ with $writer.email }}
<a class="email" target="_blank"
href="mailto:{{ . }}">
<i class="fa fa-envelope"
title="email icon"></i>
</a>
{{end}}

{{ with $writer.instagram }}
<a class="instagram" target="_blank"
href="{{ . }}">
<i class="fa fa-instagram"
title="instagram icon"></i>
</a>
{{end}}

{{ with $writer.stackoverflow }}
<a class="stackoverflow" target="_blank"
href="{{ . }}">
<i class="fa fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
{{end}}

{{ with $writer.github }}
<a class="github" target="_blank"
href="{{ . }}">
<i class="fa fa-github"
title="github icon"></i>
</a>
{{end}}


{{ with $writer.pinterest }}
<a class="pinterest" target="_blank"
href="{{ . }}">
<i class="fa fa-pinterest"
title="pinterest icon"></i>
</a>
{{end}}



</div>
</div>

</div>
</div>

<section id="comments" class="comments">
  {{ template "_internal/disqus.html" . }}

  <!--<div class="comments-number">
  <h2>
  4 Comments			</h2>
</div>-->

<!--
<ol class="comment-list">
<li class="comment even thread-even depth-1" id="li-comment-54">
<article id="comment-54" class="comment">
<div class="comment-author">
<img alt='' src='https://secure.gravatar.com/avatar/39f7e57ccd31847dc1a4bfb2ee1cd596?s=72&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/39f7e57ccd31847dc1a4bfb2ee1cd596?s=144&#038;d=mm&#038;r=g 2x' class='avatar avatar-72 photo' height='72' width='72' />				<div>
<div class="author-name"><a href='http://commenter.url' rel='external nofollow' class='url'>Commenter 2799</a></div>
<div class="comment-date">April 18</div>
<a rel='nofollow' class='comment-reply-link' href='https://www.competethemes.com/tracks-live-demo/this-is-a-standard-post/?replytocom=54#respond' onclick='return addComment.moveForm( "comment-54", "54", "respond", "1969" )' aria-label='Reply to Commenter 2799'>Reply</a>									</div>
</div>
<div class="comment-content">
<p>sque lacus. Etiam consectetur rutrum justo.</p>
<p>Duis facilisis. Aliquam sagittis. Proin consectetur egestas metus. Curabitur pellentesque posuere arcu. Integer lorem nulla, congue a, rhoncus nec, vestibulum a, ante. Mauris lobortis iaculis erat. Maecenas faucibus tincidunt dui. Cras accumsan vestibulum ligula. Morbi dapibus, lorem nec euismod pharetra, augue risus congue augue, molestie eleifend lacus magna nec magna. Mo</p>
</div>
</article>
</li>

</ol>-->


</section>
</div>

<!--</div>--> <!-- .main -->


{{ end }}