-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Scott Straughan
committed
May 10, 2023
1 parent
4223c99
commit a8d0c32
Showing
4 changed files
with
58 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,62 @@ | ||
--- | ||
layout: updates | ||
layout: page | ||
title: Updates | ||
permalink: /updates/ | ||
pagination: | ||
enabled: true | ||
collection: updates | ||
--- | ||
|
||
<!-- Section: Updates --> | ||
<section id="updates" class="update-elements"> | ||
<div class="wrapper content-and-side-content compact"> | ||
<div> | ||
<div class="header"> | ||
<div> | ||
<h1><span class="material-icons">newspaper</span>Updates</h1> | ||
</div> | ||
<div> | ||
{%- include _includes/paginator.html -%} | ||
</div> | ||
</div> | ||
|
||
<div class="update-panels"> | ||
{%- for update in site.updates -%} | ||
<a href="{{update.url | absolute_url}}"> | ||
<div> | ||
<span class="material-icons">event</span> {{update.date | date: "%m/%d/%Y" }} | ||
</div> | ||
<div> | ||
<h1>{{update.title}}</h1> | ||
<h2>{{update.content | strip_html | truncatewords:50}}</h2> | ||
</div> | ||
<div> | ||
{%- for tag in update.tags -%} | ||
<div class="update tag {{tag | slugify}}">{{tag | capitalize}}</div> | ||
{%- endfor -%} | ||
</div> | ||
</a> | ||
{%- endfor -%} | ||
|
||
{% if site.updates.size < 2 %} | ||
{% assign short_fall = 2 | minus: site.updates.size %} | ||
|
||
{% for num in (1..short_fall) %} | ||
<div class="placeholder"> | ||
<div> | ||
Coming Soon! | ||
</div> | ||
</div> | ||
{% endfor %} | ||
{% endif %} | ||
</div> | ||
|
||
{%- include _includes/paginator.html -%} | ||
</div> | ||
<div> | ||
<h1> | ||
<span class="material-icons">public</span>Socials | ||
</h1> | ||
<div id="twitter"> | ||
<p>Coming Soon!</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |