-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
4 changed files
with
97 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
+++ | ||
title = "All Essays" | ||
insert_anchor_links = "left" | ||
template = "essay_all.html" | ||
+++ |
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,51 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %} | ||
{% if section.title -%} | ||
{% set html_title = "</> htmx ~ " ~ section.title -%} | ||
{% endif -%} | ||
{% set section = get_section(path="essays/_index.md") %} | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="/essays/atom.xml", trailing_slash=false) }}"> | ||
{% endblock title %} | ||
|
||
|
||
{% block content %} | ||
<style> | ||
ol { list-style-type: none; margin: 0; } | ||
time { padding-right: 10px; } | ||
</style> | ||
|
||
<h1>All Essays</h1> | ||
|
||
<h2>htmx Essays</h2> | ||
<ol> | ||
{% for page in section.pages %} | ||
<li> | ||
<time datetime={{page.date}}>{{ page.date | date(format="%b %d, %Y") }}</time> | ||
<a href="{{ page.permalink | safe }}">{{ page.title | safe }}</a> | ||
</li> | ||
{% endfor %} | ||
</ol> | ||
|
||
<h2>Ye Olde Intercooler.js Essays</h2> | ||
<ol> | ||
<li> | ||
<time datetime="2016-02-17">Jan 14, 2020</time> | ||
<a href="https://intercoolerjs.org/2020/01/14/taking-html-seriously">Take HTML Seriously</a> | ||
</li> | ||
<li> | ||
<time datetime="2016-05-08">May 08, 2016</time> | ||
<a href="https://intercoolerjs.org/2016/02/17/api-churn-vs-security.html">HATEOAS Is For Humans</a> | ||
</li> | ||
<li> | ||
<time datetime="2016-02-17">Feb 17, 2016</time> | ||
<a href="https://intercoolerjs.org/2016/02/17/api-churn-vs-security.html">The API Churn/Security Trade-off</a> | ||
</li> | ||
<li> | ||
<time datetime="2016-02-17">Jan 18, 2016</time> | ||
<a href="https://intercoolerjs.org/2016/01/18/rescuing-rest.html">Rescuing REST From the API Winter</a> | ||
</li> | ||
</ol> | ||
|
||
{% endblock content %} | ||
|
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,36 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %} | ||
{% if section.title -%} | ||
{% set html_title = "</> htmx ~ " ~ section.title -%} | ||
{% endif -%} | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="/essays/atom.xml", trailing_slash=false) }}"> | ||
{% endblock title %} | ||
|
||
|
||
{% block content %} | ||
<style> | ||
ol { list-style-type: none; margin: 0; } | ||
time { padding-right: 10px; } | ||
</style> | ||
|
||
<h3> | ||
<a class="zola-anchor" href="#most-recent" aria-label="Anchor link for: most-recent">#</a> | ||
Most Recent | ||
</h3> | ||
|
||
<ol> | ||
{% for page in section.pages | slice(end=5) %} | ||
<li> | ||
<time datetime={{page.date}}>{{ page.date | date(format="%b %d, %Y") }}</time> | ||
<a href="{{ page.permalink | safe }}">{{ page.title }}</a> | ||
</li> | ||
{% endfor %} | ||
</ol> | ||
<a href="/essays/all" style="display: block; padding-top: 10px">See all essays</a> | ||
|
||
{{ section.content | safe }} | ||
<div style="padding-top: 120px;padding-bottom:40px;text-align: center"> | ||
</> | ||
</div> | ||
{% endblock content %} |