~sgeisenh/personal_site

2fc86a284ec59b8c13bb2c262b4e76c8ecda2f46 — Sam Eisenhandler 1 year, 4 months ago 2d9501e
Simple CSS
19 files changed, 178 insertions(+), 889 deletions(-)

M content/pages/uses.md
D sass/buttons.scss
D sass/color.scss
D sass/font.scss
D sass/footer.scss
D sass/header.scss
D sass/logo.scss
D sass/main.scss
D sass/pagination.scss
D sass/post.scss
M sass/style.scss
D sass/variables.scss
M templates/404.html
M templates/archive.html
M templates/index.html
D templates/macros/menu.html
M templates/page.html
M templates/series.html
M templates/tags/single.html
M content/pages/uses.md => content/pages/uses.md +24 -8
@@ 3,14 3,13 @@ title = "Uses"
path = "uses"
+++

# Uses

This is a "uses" page in progress.

## Hardware

- 16" M1 MacBook Pro
- Lenovo X1 Carbon Gen 7
- Linux Desktop
  - 5950X
  - 3090
- MX Mechanical Mini
- MX Master 3
- CalDigit TS4


@@ 19,16 18,32 @@ This is a "uses" page in progress.
- iPad (7th generation)
- Casio F91W

## Software

- NeoVim nightly
- tmux
- Nix
- Pop!_OS
- VS Code

## Programming Languages

- Python
- C++
- Rust
- TypeScript
- SQL

## Workspace

- Herman Miller Sayl Chair
- Herman Miller Sayl
- Fully Jarvis Bamboo Standing Desk
- TODO: Desk mat?
- [Desktop of a Cat Artist Desk Mat](https://www.redbubble.com/i/mouse-pad/Desktop-of-a-Cat-Artist-by-miranema/58301505.GAP22)

## Trumpets

- Bach Stradivarius 37 "Big Apple" Bb Trumpet
- Bach Stradivarius 256/25H C Trumpet
- Bach Stradivarius 37 "Big Apple" Bb
- Bach Stradivarius 256/25H C
- Bach Stradivarius D/Eb Conversion
- Getzen Eterna 940 Short Bell Piccolo
- Yamaha YFH-8310Z Flugelhorn


@@ 54,3 69,4 @@ This is a "uses" page in progress.
- Fallen Aspen Farm pork and eggs
- Goat Rodeo cheese
- Trader Joe's Microwavable Butter Chicken
- Pickled Chef Chili Crisp
\ No newline at end of file

D sass/buttons.scss => sass/buttons.scss +0 -71
@@ 1,71 0,0 @@
.button-container {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

button,
.button,
a.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  margin-bottom: 5px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid transparent;
  appearance: none;
  cursor: pointer;
  outline: none;

  /* variants */

  &.outline {
    background: transparent;
    box-shadow: none;
    padding: 8px 18px;

    :hover {
      transform: none;
      box-shadow: none;
    }
  }

  &.primary {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);

    &:hover {
      box-shadow: 0 2px 6px rgba(50, 50, 93, 0.21),
        0 1px 3px rgba(0, 0, 0, 0.08);
    }
  }

  &.link {
    background: none;
    font-size: 1rem;
  }

  /* sizes */

  &.small {
    font-size: 0.8rem;
  }

  &.wide {
    min-width: 200px;
    padding: 14px 24px;
  }
}

a.read-more,
a.read-more:hover,
a.read-more:active {
  display: inline-flex;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 20px 0;
  max-width: 100%;
}

D sass/color.scss => sass/color.scss +0 -32
@@ 1,32 0,0 @@
/* Solarized color scheme. */
:root {
  --base03: #002b36;
  --base02: #073642;
  --base01: #586e75;
  --base00: #657b83;
  --base0: #839496;
  --base1: #93a1a1;
  --base2: #eee8d5;
  --base3: #fdf6e3;

  --yellow: #b58900;
  --orange: #cb4b16;
  --red: #dc322f;
  --magenta: #d33682;
  --violet: #6c71c4;
  --blue: #268bd2;
  --cyan: #2aa198;
  --green: #859900;

  --background: var(--base03);
  --color: var(--base0);
  --border-color: rgba(255, 255, 255, .1);
}

@media (prefers-color-scheme: light) {
  :root {
    --background: var(--base3);
    --color: var(--base00);
    --border-color: rgba(0, 0, 0, .1);
  }
}
\ No newline at end of file

D sass/font.scss => sass/font.scss +0 -33
@@ 1,33 0,0 @@
/* FONT PATHS
 * -------------------------- */
@font-face {
  font-family: "Berkeley Mono";
  src: url("fonts/BerkeleyMono-Regular.woff2") format("woff2"),
    url("fonts/BerkeleyMono-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("fonts/BerkeleyMono-Bold.woff2") format("woff2"),
    url("fonts/BerkeleyMono-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("fonts/BerkeleyMono-Italic.woff2") format("woff2"),
    url("fonts/BerkeleyMono-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("fonts/BerkeleyMono-BoldItalic.woff2") format("woff2"),
    url("fonts/BerkeleyMono-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

D sass/footer.scss => sass/footer.scss +0 -64
@@ 1,64 0,0 @@
@import "variables";

.footer {
  padding: 40px 0;
  flex-grow: 0;
  opacity: .5;

  &__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    width: 760px;
    max-width: 100%;

    @media (max-width: $tablet-max-width) {
      flex-direction: column;
    }
  }

  a {
    color: inherit;
  }

  .copyright {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1rem;
    color: var(--light-color-secondary);

    &--user {
      margin: auto;
      text-align: center;
    }

    & > *:first-child:not(:only-child) {
      margin-right: 10px;

       @media (max-width: $tablet-max-width) {
        border: none;
        padding: 0;
        margin: 0;
      }
    }

    @media (max-width: $tablet-max-width) {
      flex-direction: column;
      margin-top: 10px;
    }
  }

  .copyright-theme-sep {
    @media (max-width: $tablet-max-width) {
      display: none;
    }
  }

  .copyright-theme {
    @media (max-width: $tablet-max-width) {
      font-size: 0.75rem;
    }
  }
}

D sass/header.scss => sass/header.scss +0 -96
@@ 1,96 0,0 @@
@import "variables";

@mixin menu {
  position: absolute;
  background: var(--background);
  box-shadow: var(--shadow);
  color: white;
  border: 2px solid;
  margin: 0;
  padding: 10px;
  list-style: none;
  z-index: 99;
}

.header {
  display: flex;
  flex-direction: column;
  position: relative;

  &__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &__logo {
    display: flex;
    flex: 1;

    &:after {
      content: '';
      background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, transparent 0, transparent 16px);
      display: block;
      width: 100%;
      right: 10px;
    }

    a {
      flex: 0 0 auto;
      max-width: 100%;
    }
  }

  .menu {
    margin: 20px 0;

    &__inner {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        &.active {
          color: var(--accent-alpha-70);
        }

        &:not(:last-of-type) {
          margin-right: 20px;
          margin-bottom: 10px;
          flex: 0 0 auto;
        }
      }
    }

    &__sub-inner {
      position: relative;
      list-style: none;
      padding: 0;
      margin: 0;

      &:not(:only-child) {
        margin-left: 20px;
      }

      &-more {
        @include menu;
        top: 35px;
        left: 0;

        &-trigger {
          color: var(--accent);
          user-select: none;
          cursor: pointer;
        }

        li {
          margin: 0;
          padding: 5px;
          white-space: nowrap;
        }
      }
    }
  }
}

D sass/logo.scss => sass/logo.scss +0 -8
@@ 1,8 0,0 @@
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--accent);
  color: black;
  padding: 5px 10px;
}

D sass/main.scss => sass/main.scss +0 -266
@@ 1,266 0,0 @@
@import "variables";

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: Berkeley Mono, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono,
    monospace;
  font-size: 1rem;
  line-height: 1.54;
  background-color: var(--background);
  color: var(--color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;

  @media (max-width: $phone-max-width) {
    font-size: 1rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  display: flex;
  align-items: center;
  font-weight: bold;
  line-height: 1.3;
}

h1 {
  font-size: 1.4rem;
}

h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.2rem;
}

h4,
h5,
h6 {
  font-size: 1.15rem;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;

  &.left {
    margin-right: auto;
  }

  &.center {
    margin-left: auto;
    margin-right: auto;
  }

  &.right {
    margin-left: auto;
  }
}

p {
  margin-bottom: 20px;
}

figure {
  display: table;
  max-width: 100%;
  margin: 25px 0;

  &.left {
    img {
      margin-right: auto;
    }
  }

  &.center {
    img {
      margin-left: auto;
      margin-right: auto;
    }
  }

  &.right {
    img {
      margin-left: auto;
    }
  }

  figcaption {
    font-size: 14px;
    padding: 5px 10px;
    margin-top: 5px;
    background: var(--accent);
    color: var(--background);

    &.left {
      text-align: left;
    }

    &.center {
      text-align: center;
    }

    &.right {
      text-align: right;
    }
  }
}

code {
  font-family: Berkeley Mono, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono,
    monospace;
  font-feature-settings: normal;
  background: var(--accent-alpha-20);
  padding: 1px 6px;
  margin: 0 2px;
  font-size: 0.95rem;
}

pre {
  font-family: Berkeley Mono, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono,
    monospace;
  padding: 20px;
  font-size: 0.95rem;
  overflow: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  @media (max-width: $phone-max-width) {
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  code {
    padding: 0;
    margin: 0;
    background: none;
  }
}

blockquote {
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  margin: 40px 0;
  padding: 25px;

  @media (max-width: $phone-max-width) {
    padding-right: 0;
  }

  &:before {
    content: "”";
    font-family: Georgia, serif;
    font-size: 3.875rem;
    position: absolute;
    left: -40px;
    top: -20px;
  }

  p:first-of-type {
    margin-top: 0;
  }

  p:last-of-type {
    margin-bottom: 0;
  }

  p {
    position: relative;
  }

  p:before {
    content: ">";
    display: block;
    position: absolute;
    left: -25px;
    color: var(--accent);
  }
}

table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  margin: 40px 0;
}

table,
th,
td {
  border: 1px dashed var(--accent);
  padding: 10px;
}

th {
  color: var(--accent);
}

ul,
ol {
  margin-left: 30px;
  padding: 0;

  li {
    position: relative;
  }

  @media (max-width: $phone-max-width) {
    margin-left: 20px;
  }
}

ol ol {
  list-style-type: lower-alpha;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 40px;
  max-width: 864px;
  min-height: 100vh;
  margin: 0 auto;

  @media (max-width: $phone-max-width) {
    padding: 20px;
  }
}

.content {
  display: flex;
}

hr {
  width: 100%;
  border: none;
  background: var(--border-color);
  height: 1px;
}

.hidden {
  display: none;
}

D sass/pagination.scss => sass/pagination.scss +0 -77
@@ 1,77 0,0 @@
@import 'variables';

.pagination {
  margin-top: 50px;

  &__title {
    display: flex;
    text-align: center;
    position: relative;
    margin: 100px 0 20px;

    &-h {
      text-align: center;
      margin: 0 auto;
      padding: 5px 10px;
      background: var(--background);
      font-size: .8rem;
      text-transform: uppercase;
      letter-spacing: .1em;
      z-index: 1;
    }

    hr {
      position: absolute;
      left: 0;
      right: 0;
      width: 100%;
      margin-top: 15px;
      z-index: 0;
    }
  }

  &__buttons {
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: $phone-max-width) {
      flex-direction: column;
    }
  }
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 8px;
  max-width: 40%;
  padding: 0;
  cursor: pointer;
  appearance: none;

  @media (max-width: $phone-max-width) {
    max-width: 80%;
  }

  + .button {
    margin-left: 10px;
  }

  a {
    display: flex;
    padding: 8px 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  &__text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}

D sass/post.scss => sass/post.scss +0 -135
@@ 1,135 0,0 @@
@import "variables";

.posts {
  width: 100%;
  margin: 0 auto;
}

.post {
  width: 100%;
  text-align: left;
  margin: 20px auto;
  padding: 20px 0;

  @media (max-width: $tablet-max-width) {
    max-width: 660px;
  }

  &:not(:last-of-type) {
    border-bottom: 1px solid var(--border-color);
  }

  %meta {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--accent-alpha-70);
  }

  &-meta {
    @extend %meta;
  }

  &-meta-inline {
    @extend %meta;

    display: inline;
  }

  &-title {
    --border: 2px dashed var(--accent);
    position: relative;
    color: var(--accent);
    margin: 0 0 15px;
    padding-bottom: 15px;
    border-bottom: var(--border);
    font-weight: normal;

    a {
      text-decoration: none;
    }
  }

  %tags {
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: .5;
  }

  &-tags {
    @extend %tags;

    display: block;
  }

  &-tags-inline {
    @extend %tags;

    display: inline;

    @media (max-width: $phone-max-width) {
      display: block;
    }
  }

  &-content {
    margin-top: 30px;
  }

  &-cover {
    border: 20px solid var(--accent);
    background: transparent;
    margin: 40px 0;
    padding: 20px;

    @media (max-width: $phone-max-width) {
      padding: 10px;
      border-width: 10px;
    }
  }

  ul {
    list-style: none;

    li:before {
      content: '►';
      position: absolute;
      left: -20px;
      color: var(--accent);
    }
  }
}

.post--regulation {
  h1 {
    justify-content: center;
  }

  h2 {
    justify-content: center;
    margin-bottom: 10px;

    &+ h2 {
      margin-top: -10px;
      margin-bottom: 20px;
    }
  }
}

.post-list {
  .post-date {
    color: var(--accent-alpha-70);
    text-decoration: none;
  }

  a {
    text-decoration: none;
  }

  .post-list-title {
    text-decoration: underline;
  }

  .post-tag {
    text-decoration: underline;
  }
}

M sass/style.scss => sass/style.scss +97 -9
@@ 1,9 1,97 @@
@import "color";
@import "buttons";

@import "header";
@import "logo";
@import "main";
@import "post";
@import "pagination";
@import "footer";
@font-face {
  font-family: "Berkeley Mono";
  src: url("BerkeleyMono-Regular.woff2") format("woff2"),
    url("BerkeleyMono-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("BerkeleyMono-Bold.woff2") format("woff2"),
    url("BerkeleyMono-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("BerkeleyMono-Italic.woff2") format("woff2"),
    url("BerkeleyMono-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Berkeley Mono";
  src: url("BerkeleyMono-BoldItalic.woff2") format("woff2"),
    url("BerkeleyMono-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

:root {
  --base03: #002b36;
  --base02: #073642;
  --base01: #586e75;
  --base00: #657b83;
  --base0: #839496;
  --base1: #93a1a1;
  --base2: #eee8d5;
  --base3: #fdf6e3;

  --yellow: #b58900;
  --orange: #cb4b16;
  --red: #dc322f;
  --magenta: #d33682;
  --violet: #6c71c4;
  --blue: #268bd2;
  --cyan: #2aa198;
  --green: #859900;

  --background: var(--base3);
  --highlighted-background: var(--base2);
  --color: var(--base00);
  --highlighted-color: var(--base01);
  --border-color: rgba(0, 0, 0, .1);
}

body {
  font-family: Berkeley Mono, monospace;

  background-color: var(--background);
  color: var(--color);
  margin: 0;
  padding: 0;
}

a {
  color: var(--color);
  text-decoration: underline;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  list-style: none;
}

.footer {
  /* Move to the bottom of the page or after the content. */
  flex: 1 0 auto;
  padding: 1rem 0;

  /* Center the content. */
  text-align: center;

  /* Make text slightly lighter. */
  color: var(--highlighted-color);
}
\ No newline at end of file

D sass/variables.scss => sass/variables.scss +0 -2
@@ 1,2 0,0 @@
$phone-max-width: 683px;
$tablet-max-width: 899px;

M templates/404.html => templates/404.html +0 -4
@@ 4,10 4,6 @@
404
{% endblock title %}

{% block header_menu %}
{{ menu_macros::menu_for(config=config, current_item="") }}
{% endblock header_menu %}

{% block content %}
<div class="post">
  <h1 class="post-title">{% block heading %}Lost?{% endblock heading %}</h1>

M templates/archive.html => templates/archive.html +1 -3
@@ 4,8 4,6 @@
  <div class="post">
    <h1 class="post-title">{{ page.title }}</h1>

    {% set section = get_section(path="_index.md") %}

    {{ post_macros::list_posts(pages=section.pages) }}
    TODO: Archive content
  </div>
{% endblock content %}

M templates/index.html => templates/index.html +43 -71
@@ 6,6 6,7 @@
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1"
    />
    <meta name="robots" content="noodp" />

    <link rel="stylesheet" href="{{ get_url(path="style.css", trailing_slash=false) | safe }}" />
    <link rel="alternate" type="application/rss+xml" href="{{ get_url(path="rss.xml") | safe }}" />


@@ 19,87 20,58 @@
    <div class="container">
      {% block header %}
      <header class="header">
        <div class="header__logo">
          {%- if config.logo_home_link %} {% set logo_link =
          config.logo_home_link %} {% else %} {% set logo_link = config.base_url
          %} {% endif -%}
          <a href="{{ logo_link | safe }}" style="text-decoration: none">
            <div class="logo">
              {% block logo_content %} {%- if config.extra.logo_text %} {{
              config.extra.logo_text }} {% else %} Terminimal theme {% endif -%}
              {% endblock logo_content %}
            </div>
          </a>
        <h1 class="header-title">
          <a href="{{ config.base_url | safe }}">{{ config.title }}</a>
        </h1>
        <div class="header-menu">
          {% block header_menu %}
          <ul class="menu">
            <li>
              <a href="{{ config.base_url | safe }}">blog</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/tags">tags</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/archive">archive</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/series">series</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/about">about</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/projects">projects</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/recordings">recordings</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/uses">uses</a>
            </li>
            <li>
              <a href="{{ config.base_url | safe }}/atom.xml">feed</a>
            </li>
          </ul>
          {% endblock header_menu %}
        </div>

        {% block header_menu %} {{ menu_macros::menu(config=config,
        current_path=current_path) }} {% endblock header_menu %}
      </header>
      {% endblock header %}

      <div class="content">
        {% block content %}
        <div class="posts">
          {%- if paginator %} {%- set show_pages = paginator.pages -%} {% else
          %} {%- set show_pages = section.pages -%} {% endif -%} {%- for page in
          show_pages %}
          <div class="post on-list">
            {{ post_macros::header(page=page) }} {{
            post_macros::content(page=page, summary=true) }}
          </div>
          {% endfor -%}
          <div class="pagination">
            <div class="pagination__buttons">
              {%- if paginator.previous %}
              <span class="button previous">
                <a href="{{ paginator.previous | safe }}">
                  <span class="button__icon">←</span>&nbsp;
                  <span class="button__text">Newer posts</span>
                </a>
              </span>
              {% endif -%} {%- if paginator.next %}
              <span class="button next">
                <a href="{{ paginator.next | safe }}">
                  <span class="button__text">Older posts</span>&nbsp;
                  <span class="button__icon">→</span>
                </a>
              </span>
              {% endif -%}
            </div>
          </div>
        </div>
        TODO: Default content
        {% endblock content %}
      </div>

      {% block footer %}
      <footer class="footer">
        <div class="footer__inner">
          {%- if config.extra.copyright_html %}
          <div class="copyright copyright--user">
            {{ config.extra.copyright_html | safe }}
          </div>
          {% else %}
          <div class="copyright">
            {%- if config.extra.author %}
            <span
              >© {{ date_macros::now_year() }} {{ config.extra.author }}</span
            >
            {% else %}
            <span
              >© {{ date_macros::now_year() }} Powered by
              <a href="https://www.getzola.org/">Zola</a></span
            >
            {% endif -%}

            <span class="copyright-theme">
              <span class="copyright-theme-sep">:: </span>
              Theme:
              <a href="https://github.com/pawroman/zola-theme-terminimal/"
                >Terminimal</a
              >
              by pawroman
            </span>
          </div>
          {% endif -%}
        <div class="copyright">
          © 2023 Samuel Eisenhandler
        </div>
        <div class="scout">
          <script async defer src="https://www.recurse-scout.com/loader.js?t=6728fa76fc43b8203165af6bcc28a021"></script>
        </div>
      </footer>
      {% endblock footer %}

D templates/macros/menu.html => templates/macros/menu.html +0 -3
@@ 1,3 0,0 @@
{% macro menu(config, current_path) %}
  <div>TODO: Make the menu macro.</div>
{% endmacro menu %}

M templates/page.html => templates/page.html +7 -4
@@ 1,6 1,9 @@
{% extends "index.html" %} {% block content %}
{% import "macros/post.html" as post_macros %}
{% extends "index.html" %}
{% block content %}
<div class="post">
  {{ post_macros::header(page=page) }} {{ post_macros::content(page=page,
  summary=false) }} {{ post_macros::earlier_later(page=page) }}
  {{ post_macros::header(page=page) }}
  {{ post_macros::content(page=page, summary=false) }}
  {{ post_macros::earlier_later(page=page) }}
</div>
{% endblock content %}
{% endblock content %}
\ No newline at end of file

M templates/series.html => templates/series.html +1 -0
@@ 1,3 1,4 @@
{% import "macros/post.html" as post_macros %}
{% extends "index.html" %}

{% block content %}

M templates/tags/single.html => templates/tags/single.html +5 -3
@@ 1,8 1,10 @@
{% extends "index.html" %} {% block content %}
{% import "macros/post.html" as post_macros %}
{% extends "index.html" %}
{% block content %}
<div class="post">
  <h1 class="post-title">
    tag: #{{ term.name }} ({{ term.pages | length }} post{{ term.pages | length
    | pluralize }})
    tag: #{{ term.name }} ({{ term.pages | length }}
    post {{ term.pages | length | pluralize }})
  </h1>

  <a href="{{ config.base_url | safe }}/tags"> Show all tags </a>