Tab goblin sneak attack
This commit is contained in:
parent
00b535a618
commit
f0b1196a6b
3 changed files with 11 additions and 10 deletions
|
@ -1,13 +1,13 @@
|
||||||
import { format } from 'date-fns';
|
import { format } from 'date-fns';
|
||||||
|
|
||||||
export default function(eleventyConfig) {
|
export default function(eleventyConfig) {
|
||||||
eleventyConfig.addFilter("readableDate", (dateObj) => {
|
eleventyConfig.addFilter("readableDate", (dateObj) => {
|
||||||
return format(dateOnly(dateObj), 'MMMM do, yyyy');
|
return format(dateOnly(dateObj), 'MMMM do, yyyy');
|
||||||
});
|
});
|
||||||
|
|
||||||
eleventyConfig.addFilter("htmlDateString", (dateObj) => {
|
eleventyConfig.addFilter("htmlDateString", (dateObj) => {
|
||||||
return format(dateOnly(dateObj), 'yyyy-MM-dd');
|
return format(dateOnly(dateObj), 'yyyy-MM-dd');
|
||||||
});
|
});
|
||||||
|
|
||||||
eleventyConfig.addFilter("seriesPosts", (posts, seriesName) => {
|
eleventyConfig.addFilter("seriesPosts", (posts, seriesName) => {
|
||||||
return posts.
|
return posts.
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
html {
|
html {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
max-width: 660px;
|
max-width: 660px;
|
||||||
|
padding: 0 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import pluginFilters from "./_config/filters.js";
|
||||||
export default async function(eleventyConfig) {
|
export default async function(eleventyConfig) {
|
||||||
eleventyConfig.setUseGitIgnore(false);
|
eleventyConfig.setUseGitIgnore(false);
|
||||||
|
|
||||||
eleventyConfig.addPlugin(pluginFilters);
|
eleventyConfig.addPlugin(pluginFilters);
|
||||||
|
|
||||||
eleventyConfig.addPlugin(feedPlugin, {
|
eleventyConfig.addPlugin(feedPlugin, {
|
||||||
type: "atom",
|
type: "atom",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue