chore: feed nav + footer
This commit is contained in:
parent
5179fa1c2f
commit
7a4505ab78
10 changed files with 23 additions and 33 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "3.3.1",
|
"version": "3.3.2",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -254,6 +254,10 @@ h1 {
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: var(--font-size-xl);
|
font-size: var(--font-size-xl);
|
||||||
|
|
||||||
|
&.page-header {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
@ -421,10 +425,6 @@ td:first-of-type,
|
||||||
/* layout */
|
/* layout */
|
||||||
.default-wrapper {
|
.default-wrapper {
|
||||||
padding-top: var(--spacing-2xl);
|
padding-top: var(--spacing-2xl);
|
||||||
|
|
||||||
h2.page-title {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-wrapper {
|
.main-wrapper {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
---
|
||||||
|
permalink: /assets/styles/feed.xsl
|
||||||
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
@ -16,14 +19,11 @@
|
||||||
<body class="feed">
|
<body class="feed">
|
||||||
<div class="main-wrapper">
|
<div class="main-wrapper">
|
||||||
<main>
|
<main>
|
||||||
<section class="main-title">
|
{% render "header.liquid", globals:globals, page:page, nav:nav %}
|
||||||
<h1>
|
|
||||||
<a href="/feeds" tabindex="0">
|
|
||||||
<xsl:value-of select="/rss/channel/title" />
|
|
||||||
</a>
|
|
||||||
</h1>
|
|
||||||
</section>
|
|
||||||
<div class="default-wrapper">
|
<div class="default-wrapper">
|
||||||
|
<h2 class="page-header">
|
||||||
|
<xsl:value-of select="/rss/channel/title" />
|
||||||
|
</h2>
|
||||||
<article class="intro">
|
<article class="intro">
|
||||||
<p>
|
<p>
|
||||||
<xsl:value-of select="/rss/channel/description" />
|
<xsl:value-of select="/rss/channel/description" />
|
||||||
|
@ -62,12 +62,12 @@
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
{% render "footer.liquid",
|
||||||
<p>Subscribe by adding <code>
|
page:page,
|
||||||
<xsl:value-of select="rss/channel/atom:link/@href" />
|
nav:nav,
|
||||||
</code> to your
|
updated:updated,
|
||||||
feed reader of choice.</p>
|
pageUpdated:page.updated
|
||||||
</footer>
|
%}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -17,7 +17,6 @@
|
||||||
@import url("./pages/about.css") layer(page);
|
@import url("./pages/about.css") layer(page);
|
||||||
@import url("./pages/books.css") layer(page);
|
@import url("./pages/books.css") layer(page);
|
||||||
@import url("./pages/contact.css") layer(page);
|
@import url("./pages/contact.css") layer(page);
|
||||||
@import url("./pages/feeds.css") layer(page);
|
|
||||||
@import url("./pages/links.css") layer(page);
|
@import url("./pages/links.css") layer(page);
|
||||||
@import url("./pages/media.css") layer(page);
|
@import url("./pages/media.css") layer(page);
|
||||||
@import url("./pages/music.css") layer(page);
|
@import url("./pages/music.css") layer(page);
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
.feed {
|
|
||||||
.main-title h1 {
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
border-top: var(--border-gray);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/all"
|
||||||
---
|
---
|
||||||
{% render "feeds/rss.liquid"
|
{% render "feeds/rss.liquid"
|
||||||
permalink:"/feeds/all"
|
permalink:"/feeds/all"
|
||||||
title:"All / Cory Dransfeldt"
|
title:"All activity"
|
||||||
globals:globals
|
globals:globals
|
||||||
data:activity
|
data:activity
|
||||||
%}
|
%}
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/books"
|
||||||
---
|
---
|
||||||
{% render "feeds/rss.liquid"
|
{% render "feeds/rss.liquid"
|
||||||
permalink:"/feeds/books"
|
permalink:"/feeds/books"
|
||||||
title:"Books / Cory Dransfeldt"
|
title:"Books feed"
|
||||||
globals:globals
|
globals:globals
|
||||||
data:books.feed
|
data:books.feed
|
||||||
utm_campaign:"books_feed"
|
utm_campaign:"books_feed"
|
||||||
|
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/links"
|
||||||
---
|
---
|
||||||
{% render "feeds/rss.liquid"
|
{% render "feeds/rss.liquid"
|
||||||
permalink:"/feeds/links"
|
permalink:"/feeds/links"
|
||||||
title:"Links / Cory Dransfeldt"
|
title:"Links feed"
|
||||||
globals:globals
|
globals:globals
|
||||||
data:links
|
data:links
|
||||||
%}
|
%}
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/movies"
|
||||||
---
|
---
|
||||||
{% render "feeds/rss.liquid"
|
{% render "feeds/rss.liquid"
|
||||||
permalink:"/feeds/movies"
|
permalink:"/feeds/movies"
|
||||||
title:"Movies / Cory Dransfeldt"
|
title:"Movies feed"
|
||||||
globals:globals
|
globals:globals
|
||||||
data:movies.feed
|
data:movies.feed
|
||||||
utm_campaign:"movies_feed"
|
utm_campaign:"movies_feed"
|
||||||
|
|
|
@ -5,7 +5,7 @@ permalink: "/feeds/posts"
|
||||||
---
|
---
|
||||||
{% render "feeds/rss.liquid"
|
{% render "feeds/rss.liquid"
|
||||||
permalink:"/feeds/posts"
|
permalink:"/feeds/posts"
|
||||||
title:"Posts / Cory Dransfeldt"
|
title:"Posts feed"
|
||||||
globals:globals
|
globals:globals
|
||||||
data:posts
|
data:posts
|
||||||
utm_campaign:"posts_feed"
|
utm_campaign:"posts_feed"
|
||||||
|
|
Reference in a new issue