|
172 | 172 | {% endif %}
|
173 | 173 | {% endif %}
|
174 | 174 |
|
175 |
| - {% if not is_index and theme.facebook_sdk.enable and theme.facebook_sdk.like_button %} |
176 |
| - <span class="post-meta-divider">|</span> |
177 |
| - <div class="fb-like" data-layout="button_count" data-share="true"></div> |
178 |
| - {% endif %} |
179 |
| - |
180 | 175 | {# LeanCould PageView #}
|
181 | 176 | {% if theme.leancloud_visitors.enable %}
|
182 | 177 | <span id="{{ url_for(post.path) }}" class="leancloud_visitors" data-flag-title="{{ post.title }}">
|
|
198 | 193 | </span>
|
199 | 194 | {% endif %}
|
200 | 195 |
|
| 196 | + {% if theme.post_wordcount.wordcount or theme.post_wordcount.min2read %} |
| 197 | + <div class="post-wordcount"> |
| 198 | + {% if theme.post_wordcount.wordcount %} |
| 199 | + <span class="post-meta-item-icon"> |
| 200 | + <i class="fa fa-file-word-o"></i> |
| 201 | + </span> |
| 202 | + {% if theme.post_wordcount.item_text %} |
| 203 | + <span class="post-meta-item-text">{{ __('post.wordcount') }}</span> |
| 204 | + {% endif %} |
| 205 | + <span title="{{ __('post.wordcount') }}" }}"> |
| 206 | + {{ wordcount(post.content) }} |
| 207 | + </span> |
| 208 | + {% endif %} |
| 209 | + |
| 210 | + {% if theme.post_wordcount.wordcount and theme.post_wordcount.min2read %} |
| 211 | + <span class="post-meta-divider">|</span> |
| 212 | + {% endif %} |
| 213 | + |
| 214 | + {% if theme.post_wordcount.min2read %} |
| 215 | + <span class="post-meta-item-icon"> |
| 216 | + <i class="fa fa-clock-o"></i> |
| 217 | + </span> |
| 218 | + {% if theme.post_wordcount.item_text %} |
| 219 | + <span class="post-meta-item-text">{{ __('post.min2read') }}</span> |
| 220 | + {% endif %} |
| 221 | + <span title="{{ __('post.min2read') }}" }}"> |
| 222 | + {{ min2read(post.content) }} |
| 223 | + </span> |
| 224 | + {% endif %} |
| 225 | + </div> |
| 226 | + {% endif %} |
| 227 | + |
201 | 228 | {% if post.description and (not theme.excerpt_description or not is_index) %}
|
202 | 229 | <div class="post-description">
|
203 | 230 | {{ post.description }}
|
|
294 | 321 | </div>
|
295 | 322 | {% endif %}
|
296 | 323 |
|
| 324 | + {% if not is_index %} |
| 325 | + {% if (theme.vkontakte_api.enable and theme.vkontakte_api.like) or (theme.facebook_sdk.enable and theme.facebook_sdk.like_button) %} |
| 326 | + <div class="social-like"> |
| 327 | + {% if theme.vkontakte_api.enable and theme.vkontakte_api.like %} |
| 328 | + <div class="vk_like"> |
| 329 | + <span id="vk_like"></span> |
| 330 | + </div> |
| 331 | + {% endif %} |
| 332 | + |
| 333 | + {% if theme.facebook_sdk.enable and theme.facebook_sdk.like_button %} |
| 334 | + <div class="fb_like"> |
| 335 | + <div class="fb-like" data-layout="button_count" data-share="true"></div> |
| 336 | + </div> |
| 337 | + {% endif %} |
| 338 | + </div> |
| 339 | + {% endif %} |
| 340 | + {% endif %} |
| 341 | + |
297 | 342 | {% if not is_index and (post.prev or post.next) %}
|
298 | 343 | <div class="post-nav">
|
299 | 344 | <div class="post-nav-next post-nav-item">
|
|
0 commit comments