-
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.
Create a day at the beach documentation page
and update blog page index styling
- Loading branch information
1 parent
f0dc1cf
commit 0de7d7e
Showing
20 changed files
with
172 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!-- <div class="{{ include.type | default: 'list' }}__item"> | ||
<article | ||
class="archive__item" | ||
itemscope | ||
itemtype="https://schema.org/CreativeWork" | ||
> | ||
{% if include.type == "grid" and teaser %} | ||
<div class="archive__item-teaser"> | ||
<img src="{{ teaser | relative_url }}" alt="" /> | ||
</div> | ||
{% endif %} | ||
<h2 class="archive__item-title no_toc" itemprop="headline"> | ||
<a href="{{ post.url | relative_url }}" rel="permalink" | ||
>{{ post.title }}</a | ||
> | ||
</h2> | ||
{% include page__meta.html type=include.type %} {% if post.excerpt %} | ||
<p class="archive__item-excerpt" itemprop="description"> | ||
{{ post.excerpt | markdownify | strip_html | truncate: 160 }} | ||
</p> | ||
{% endif %} | ||
<div class="post-date">{{post.date | date: "%B %e, %Y" }}</div> | ||
</article> | ||
</div> --> | ||
|
||
|
||
{% if post.header.teaser %} | ||
{% capture teaser %}{{ post.header.teaser }}{% endcapture %} | ||
{% else %} | ||
{% assign teaser = site.teaser %} | ||
{% endif %} | ||
|
||
{% if post.id %} | ||
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %} | ||
{% else %} | ||
{% assign title = post.title %} | ||
{% endif %} | ||
|
||
<div class="{{ include.type | default: 'list' }}__item"> | ||
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"> | ||
{% if include.type == "grid" and teaser %} | ||
<div class="archive__item-teaser"> | ||
<img src="{{ teaser | relative_url }}" alt=""> | ||
</div> | ||
{% endif %} | ||
<h2 class="archive__item-title no_toc" itemprop="headline"> | ||
{% if post.link %} | ||
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a> | ||
{% else %} | ||
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a> | ||
{% endif %} | ||
</h2> | ||
{% include page__meta.html type=include.type %} | ||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %} | ||
</article> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: splash | ||
permalink: /blog-posts/a-day-at-the-beach | ||
title: A Day at the Beach Documentation | ||
--- | ||
|
||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="/assets/css/blog-posts.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="/assets/css/blog-style.css" | ||
/> | ||
|
||
<h1 id="page-title">{{page.title}}</h1> | ||
|
||
{% assign category = 'A Day at the Beach'%} | ||
|
||
<section id="{{ category | slugify | downcase }}" class="taxonomy__section"> | ||
<div> | ||
{% for post in site.posts %} | ||
{% if post.categories contains 'A Day at the Beach' %} | ||
{% include single-blog-post-on-index.html type=list %} | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a> | ||
</section> |
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 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 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 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 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 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 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
Oops, something went wrong.