Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions _includes/blog/post-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@
{%- else -%}
{%- assign post_url = post.url | relative_url -%}
{%- endif -%}

<div class="col-lg-6 my-3 wow animated fadeIn" data-wow-delay=".15s">

{%- comment -%} Determine Blog column style {%- endcomment -%}
{%- if site.blog.single -%}
{%- assign column_style = 'col-lg-12' -%}
{%- else -%}
{%- assign column_style = 'col-lg-6' -%}
{%- endif -%}

<div class="{{ column_style }} my-3 wow animated fadeIn" data-wow-delay=".15s">
<a href="{{ post_url }}" class="post card {{ card_style }}" {%- if post.external_url and site.open_new_tab -%} target="_blank" {%- endif -%}>
<div class="card-body {{ text_style }}">
<h3 class="card-title">{{ post.title }}</h3>
Expand Down
5 changes: 5 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,8 @@ exclude:
- CONTRIBUTING.md
- LICENSE
- "*.log"


### Blog ###
blog:
single: false # Set to true to get a single column style blog