mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Add img-thumbnail, img-circle class to site image
Formatting
This commit is contained in:
parent
f645f704f9
commit
a4048d9d68
2 changed files with 9 additions and 5 deletions
|
|
@ -61,7 +61,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% if SITEIMAGE %}
|
{% if SITEIMAGE %}
|
||||||
<div class="col-sm-4 hidden-xs">
|
<div class="col-sm-4 hidden-xs">
|
||||||
<a href="{{ SITEURL }}"><img class="img-responsive" src={{ SITEIMAGE }}></a>
|
<a href="{{ SITEURL }}"><img class="img-thumbnail img-circle" src={{ SITEIMAGE }}></a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% endif %}">
|
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% endif %}">
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,13 @@ All Articles
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% for article in articles_page.object_list %}
|
{% for article in articles_page.object_list %}
|
||||||
<article class="row teaser">
|
<article class="row teaser">
|
||||||
<header class="col-sm-4 hidden-xs">
|
<header class="col-sm-4 hidden-xs text-right text-muted">
|
||||||
<div class="text-muted" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</div>
|
<div title="{{ article.date.isoformat() }}">
|
||||||
<div><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></div>
|
{{ article.locale_date }}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
||||||
|
</div>
|
||||||
{% if article.authors and ARTICLE_AUTHORS %}
|
{% if article.authors and ARTICLE_AUTHORS %}
|
||||||
<div>
|
<div>
|
||||||
{% for author in article.authors %}
|
{% for author in article.authors %}
|
||||||
|
|
@ -28,7 +32,7 @@ All Articles
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<h3><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h3>
|
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||||
{{ article.summary }}
|
{{ article.summary }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue