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';
|
||||
|
||||
export default function(eleventyConfig) {
|
||||
eleventyConfig.addFilter("readableDate", (dateObj) => {
|
||||
eleventyConfig.addFilter("readableDate", (dateObj) => {
|
||||
return format(dateOnly(dateObj), 'MMMM do, yyyy');
|
||||
});
|
||||
});
|
||||
|
||||
eleventyConfig.addFilter("htmlDateString", (dateObj) => {
|
||||
return format(dateOnly(dateObj), 'yyyy-MM-dd');
|
||||
});
|
||||
eleventyConfig.addFilter("htmlDateString", (dateObj) => {
|
||||
return format(dateOnly(dateObj), 'yyyy-MM-dd');
|
||||
});
|
||||
|
||||
eleventyConfig.addFilter("seriesPosts", (posts, seriesName) => {
|
||||
return posts.
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
body {
|
||||
max-width: 660px;
|
||||
max-width: 660px;
|
||||
padding: 0 7px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
|
|
@ -6,7 +6,7 @@ import pluginFilters from "./_config/filters.js";
|
|||
export default async function(eleventyConfig) {
|
||||
eleventyConfig.setUseGitIgnore(false);
|
||||
|
||||
eleventyConfig.addPlugin(pluginFilters);
|
||||
eleventyConfig.addPlugin(pluginFilters);
|
||||
|
||||
eleventyConfig.addPlugin(feedPlugin, {
|
||||
type: "atom",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue