-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
3 changed files
with
225 additions
and
4 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,221 @@ | ||
--- | ||
layout: root | ||
source: "https://getbootstrap.com/docs/5.3/examples/blog/#" | ||
--- | ||
|
||
<div class="container"> | ||
<header class="border-bottom lh-1 py-3"> | ||
<div class="row flex-nowrap justify-content-between align-items-center"> | ||
<div class="col-4 pt-1"> | ||
<a class="link-secondary" href="#">Subscribe</a> | ||
</div> | ||
<div class="col-4 text-center"> | ||
<a class="blog-header-logo text-body-emphasis text-decoration-none" href="#">{{ page.title }}</a> | ||
</div> | ||
<div class="col-4 d-flex justify-content-end align-items-center"> | ||
<a class="link-secondary" href="#" aria-label="Search"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="mx-3" role="img" viewBox="0 0 24 24"><title>Search</title><circle cx="10.5" cy="10.5" r="7.5"/><path d="M21 21l-5.2-5.2"/></svg> | ||
</a> | ||
<a class="btn btn-sm btn-outline-secondary" href="#">Sign up</a> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
<div class="nav-scroller py-1 mb-3 border-bottom"> | ||
<nav class="nav nav-underline justify-content-between"> | ||
<a class="nav-item nav-link link-body-emphasis active" href="#">World</a> | ||
<a class="nav-item nav-link link-body-emphasis" href="#">U.S.</a> | ||
<a class="nav-item nav-link link-body-emphasis" href="#">Technology</a> | ||
<a class="nav-item nav-link link-body-emphasis" href="#">Business</a> | ||
<a class="nav-item nav-link link-body-emphasis" href="#">Politics</a> | ||
<a class="nav-item nav-link link-body-emphasis" href="#">Science</a> | ||
<a class="nav-item nav-link link-body-emphasis" href="#">Travel</a> | ||
</nav> | ||
</div> | ||
</div> | ||
|
||
<main class="container"> | ||
<div class="p-4 p-md-5 mb-4 rounded text-body-emphasis bg-body-secondary"> | ||
<div class="col-lg-6 px-0"> | ||
<h1 class="display-4 fst-italic">Title of a longer featured blog post</h1> | ||
<p class="lead my-3">Multiple lines of text that form the lede, informing new readers quickly and efficiently about what’s most interesting in this post’s contents.</p> | ||
<p class="lead mb-0"><a href="#" class="text-body-emphasis fw-bold">Continue reading...</a></p> | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-2"> | ||
<div class="col-md-6"> | ||
<div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative"> | ||
<div class="col p-4 d-flex flex-column position-static"> | ||
<strong class="d-inline-block mb-2 text-primary-emphasis">World</strong> | ||
<h3 class="mb-0">Featured post</h3> | ||
<div class="mb-1 text-body-secondary">Nov 12</div> | ||
<p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p> | ||
<a href="#" class="icon-link gap-1 icon-link-hover stretched-link"> | ||
Continue reading | ||
<svg class="bi"><use xlink:href="#chevron-right"/></svg> | ||
</a> | ||
</div> | ||
<div class="col-auto d-none d-lg-block"> | ||
<svg class="bd-placeholder-img" width="200" height="250" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-6"> | ||
<div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative"> | ||
<div class="col p-4 d-flex flex-column position-static"> | ||
<strong class="d-inline-block mb-2 text-success-emphasis">Design</strong> | ||
<h3 class="mb-0">Post title</h3> | ||
<div class="mb-1 text-body-secondary">Nov 11</div> | ||
<p class="mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p> | ||
<a href="#" class="icon-link gap-1 icon-link-hover stretched-link"> | ||
Continue reading | ||
<svg class="bi"><use xlink:href="#chevron-right"/></svg> | ||
</a> | ||
</div> | ||
<div class="col-auto d-none d-lg-block"> | ||
<svg class="bd-placeholder-img" width="200" height="250" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row g-5"> | ||
<div class="col-md-8"> | ||
<h3 class="pb-4 mb-4 fst-italic border-bottom"> | ||
From the Firehose | ||
</h3> | ||
|
||
<article class="blog-post"> | ||
{{ content }} | ||
</article> | ||
|
||
<article class="blog-post"> | ||
<h2 class="display-5 link-body-emphasis mb-1">Another blog post</h2> | ||
<p class="blog-post-meta">December 23, 2020 by <a href="#">Jacob</a></p> | ||
|
||
<p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p> | ||
<blockquote> | ||
<p>Longer quote goes here, maybe with some <strong>emphasized text</strong> in the middle of it.</p> | ||
</blockquote> | ||
<p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p> | ||
<h3>Example table</h3> | ||
<p>And don't forget about tables in these posts:</p> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Upvotes</th> | ||
<th>Downvotes</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Alice</td> | ||
<td>10</td> | ||
<td>11</td> | ||
</tr> | ||
<tr> | ||
<td>Bob</td> | ||
<td>4</td> | ||
<td>3</td> | ||
</tr> | ||
<tr> | ||
<td>Charlie</td> | ||
<td>7</td> | ||
<td>9</td> | ||
</tr> | ||
</tbody> | ||
<tfoot> | ||
<tr> | ||
<td>Totals</td> | ||
<td>21</td> | ||
<td>23</td> | ||
</tr> | ||
</tfoot> | ||
</table> | ||
|
||
<p>This is some additional paragraph placeholder content. It's a slightly shorter version of the other highly repetitive body text used throughout.</p> | ||
</article> | ||
|
||
<article class="blog-post"> | ||
<h2 class="display-5 link-body-emphasis mb-1">New feature</h2> | ||
<p class="blog-post-meta">December 14, 2020 by <a href="#">Chris</a></p> | ||
|
||
<p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p> | ||
<ul> | ||
<li>First list item</li> | ||
<li>Second list item with a longer description</li> | ||
<li>Third list item to close it out</li> | ||
</ul> | ||
<p>This is some additional paragraph placeholder content. It's a slightly shorter version of the other highly repetitive body text used throughout.</p> | ||
</article> | ||
|
||
<nav class="blog-pagination" aria-label="Pagination"> | ||
<a class="btn btn-outline-primary rounded-pill" href="#">Older</a> | ||
<a class="btn btn-outline-secondary rounded-pill disabled" aria-disabled="true">Newer</a> | ||
</nav> | ||
|
||
</div> | ||
|
||
<div class="col-md-4"> | ||
<div class="position-sticky" style="top: 2rem;"> | ||
<div class="p-4 mb-3 bg-body-tertiary rounded"> | ||
<h4 class="fst-italic">About</h4> | ||
<p class="mb-0">Customize this section to tell your visitors a little bit about your publication, writers, content, or something else entirely. Totally up to you.</p> | ||
</div> | ||
|
||
<div> | ||
<h4 class="fst-italic">Recent posts</h4> | ||
<ul class="list-unstyled"> | ||
{% for post in site.posts limit:3 %} | ||
<li> | ||
<a class="d-flex flex-column flex-lg-row gap-3 align-items-start align-items-lg-center py-3 link-body-emphasis text-decoration-none border-top" href="{{ post.url }}"> | ||
<img class="bd-placeholder-img" src="{{ page.preview | default: site.og_image }}" width="100%" height="96" alt="Preview image"> | ||
<div class="col-lg-8"> | ||
<h6 class="mb-0">{{ post.title }}</h6> | ||
<small class="text-body-secondary">{{ post.date | date: "%B %d, %Y" }}</small> | ||
</div> | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
|
||
<div class="p-4"> | ||
<h4 class="fst-italic">Archives</h4> | ||
<ol class="list-unstyled mb-0"> | ||
<li><a href="#">March 2021</a></li> | ||
<li><a href="#">February 2021</a></li> | ||
<li><a href="#">January 2021</a></li> | ||
<li><a href="#">December 2020</a></li> | ||
<li><a href="#">November 2020</a></li> | ||
<li><a href="#">October 2020</a></li> | ||
<li><a href="#">September 2020</a></li> | ||
<li><a href="#">August 2020</a></li> | ||
<li><a href="#">July 2020</a></li> | ||
<li><a href="#">June 2020</a></li> | ||
<li><a href="#">May 2020</a></li> | ||
<li><a href="#">April 2020</a></li> | ||
</ol> | ||
</div> | ||
|
||
<div class="p-4"> | ||
{% include sidebar-categories.html %} | ||
</div> | ||
|
||
<div class="p-4"> | ||
<h4 class="fst-italic">Elsewhere</h4> | ||
<ol class="list-unstyled"> | ||
<li><a href="#">GitHub</a></li> | ||
<li><a href="#">Twitter</a></li> | ||
<li><a href="#">Facebook</a></li> | ||
</ol> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</main> | ||
|
||
|
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