mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 03:14:30 -07:00
Fix blog
This commit is contained in:
@@ -1,33 +1,58 @@
|
||||
---
|
||||
layout: default
|
||||
route: blog
|
||||
breadcrumb:
|
||||
- home
|
||||
- blog
|
||||
---
|
||||
|
||||
{% include blog-hero.html %}
|
||||
{% include navbar.html id="Blog" %}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="columns is-multiline">
|
||||
{% for post in site.posts %}
|
||||
<article class="column is-4">
|
||||
<a class="bd-article-image is-{{ post.color }}" href="{{ post.url }}">
|
||||
<span class="bd-article-overlay"></span>
|
||||
<span class="bd-article-icon">
|
||||
<i class="{% if post.icon_brand %}fab{% else %}fas{% endif %} fa-{{ post.icon }}"></i>
|
||||
</span>
|
||||
<strong class="bd-article-info">
|
||||
<span>
|
||||
<time class="bd-article-date" datetime="{{ post.date | date_to_xmlschema }}">
|
||||
<main class="bd-main">
|
||||
<div class="bd-main-container container">
|
||||
<div class="bd-duo">
|
||||
<div class="bd-lead">
|
||||
{% include components/breadcrumb.html %}
|
||||
|
||||
<header class="bd-header">
|
||||
<div class="bd-header-titles">
|
||||
<h1 class="title">
|
||||
Blog
|
||||
</h1>
|
||||
<p class="subtitle is-4">
|
||||
Stay updated about new features, bug fixes, and releases
|
||||
</p>
|
||||
<a class="button bd-is-rss" href="{{ site.url }}/atom.xml">
|
||||
<span class="icon">
|
||||
<i class="fas fa-rss"></i>
|
||||
</span>
|
||||
<span>Subscribe</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="bd-header-carbon">
|
||||
{% include carbon.html %}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="bd-content">
|
||||
<div class="bd-links">
|
||||
{% for post in site.posts %}
|
||||
<a class="bd-link bd-is-post" href="{{ post.url }}">
|
||||
<h2 class="bd-link-name">
|
||||
<span class="bd-link-icon has-text-{{ post.color }}">
|
||||
<i class="{% if post.icon_brand %}fab{% elsif post.icon_regular %}far{% else %}fas{% endif %} fa-{{ post.icon }}"></i>
|
||||
</span>
|
||||
{{ post.name }}
|
||||
</h2>
|
||||
<time class="bd-link-subtitle" datetime="{{ post.date | date_to_xmlschema }}">
|
||||
{{ post.date | date_to_string }}
|
||||
</time>
|
||||
<strong class="bd-article-title">
|
||||
{{ post.name }}
|
||||
</strong>
|
||||
</span>
|
||||
</strong>
|
||||
</a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user