improve blog
This commit is contained in:
@@ -2,21 +2,11 @@
|
||||
<div class="column is-one-third">
|
||||
<div class="card has-equal-height">
|
||||
<a href="{{ link | safe }}" style="height:100%">
|
||||
<!-- <div class="card-image" >
|
||||
<figure class="image is-3by2">
|
||||
{% if img is not starting_with("/") %}
|
||||
<img src={{ link }}{{ img }} alt="Placeholder image">
|
||||
{% endif %}
|
||||
{% if img isstarting_with("/") %}
|
||||
<img src="{{ get_url(path=img, trailing_slash=false) }}" alt="Placeholder image">
|
||||
{% endif %}
|
||||
</figure>
|
||||
</div>-->
|
||||
<div class="card-content" style="height:100%">
|
||||
<div class="title is-3 has-text-centered">{{ title }}</div>
|
||||
<div class="title is-5 has-text-centered">{{ subtitle }}</div>
|
||||
<div class="media">
|
||||
<div class="content">
|
||||
<div class="content" style="width:100%;">
|
||||
<hr/>
|
||||
{{ abstract | markdown | safe }}
|
||||
</div>
|
||||
@@ -26,7 +16,7 @@
|
||||
<footer class="card-footer">
|
||||
<div class="card-footer-item">
|
||||
{% for tag in tags %}
|
||||
<a class="button is-small is-info is-light is-rounded" href="{{ get_url(path="tags/") }}/{{ tag }}"> {{ tag }}</a>
|
||||
<a class="button is-small is-info is-light is-rounded mx-1" href="{{ get_url(path="tags/") }}/{{ tag }}"> {{ tag }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="card-footer-item">
|
||||
|
||||
Reference in New Issue
Block a user