Add support for related video card after post header, add "fl-linux-install" posts for en and pt.
This commit is contained in:
parent
b8bd904bfc
commit
6197930c8f
7 changed files with 253 additions and 6 deletions
|
|
@ -11,14 +11,27 @@ title: Adrian Victor:Blog
|
|||
{% if altLanguages.length > 0 %}
|
||||
{{ i18n[langKey].availableInOtherLanguages }}:
|
||||
{% for alt in altLanguages %}
|
||||
<li class="inlineList">
|
||||
<a href="{{ alt.url }}" hreflang="{{ alt.lang }}">
|
||||
<li class="inlineList">
|
||||
<a href="{{ alt.url }}" hreflang="{{ alt.lang }}">
|
||||
{{ i18n[alt.lang].language }}
|
||||
</a>
|
||||
</li>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if postVideoLink and postVideoImage and postVideoTitle and postVideoWebsite %}
|
||||
<a href="{{ postVideoLink }}">
|
||||
<div class="blogpostYoutubeVideo">
|
||||
<img src="/static/images/thumbnails/{{ postVideoImage }}">
|
||||
<div class="videoHeader">
|
||||
<p class="alsoAvailable">{{ i18n[langKey].alsoAvailableAsVideo }}:</p>
|
||||
<h2 class="videoTitle">{{ postVideoTitle }}</h2>
|
||||
<p>{{ postVideoWebsite }}{% if postVideoDuration %} ({{ postVideoDuration }}){% endif %}</p>
|
||||
</div>
|
||||
<!-- <p class="goLabel">ir</p> -->
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
</main>
|
||||
Loading…
Add table
Add a link
Reference in a new issue