From f97d920238f34e876177acd86ecc12f39b2cd40f Mon Sep 17 00:00:00 2001 From: Nathan Bergey Date: Mon, 2 Sep 2019 12:40:27 -0400 Subject: [PATCH] Customize a bit for my stule --- layout/_partial/header.ejs | 7 +------ layout/_partial/index.ejs | 16 ++++++++++++++++ layout/_partial/root.ejs | 4 +--- layout/index.ejs | 6 ++---- source/css/tufte.css | 3 +++ 5 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 layout/_partial/index.ejs diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 0e1f4a3..bb2325d 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,8 +1,3 @@
- <% if(config.home) { %>Home ·<% } %> - Blog - <% if(config.feed) { %> - · - <%= (config.feed.type == "atom") ? "Atom" : "RSS" %> Feed - <% } %> + natronics.org
diff --git a/layout/_partial/index.ejs b/layout/_partial/index.ejs new file mode 100644 index 0000000..25dfa3b --- /dev/null +++ b/layout/_partial/index.ejs @@ -0,0 +1,16 @@ +

+Oculata Certitudine +

+

Git server:

+

+ https://git.natronics.org/natronics +

+

Some other things:

+ + diff --git a/layout/_partial/root.ejs b/layout/_partial/root.ejs index 0378456..24e9140 100644 --- a/layout/_partial/root.ejs +++ b/layout/_partial/root.ejs @@ -20,9 +20,7 @@ <%- partial('_partial/header') %> <%- body %> diff --git a/layout/index.ejs b/layout/index.ejs index 08678a0..22c1657 100644 --- a/layout/index.ejs +++ b/layout/index.ejs @@ -1,6 +1,4 @@ <%- partial('_partial/root', { - title: config.title, - body: page.posts.map(function(post) { - return partial('_partial/post', {post: post, link_title: true}); - }).join("") + title: 'natronics.org', + body: partial('_partial/index') }) %> diff --git a/source/css/tufte.css b/source/css/tufte.css index a3f2932..927f799 100644 --- a/source/css/tufte.css +++ b/source/css/tufte.css @@ -272,3 +272,6 @@ label.margin-toggle:not(.sidenote-number) { display: none; } div.table-wrapper, table, table.booktabs { width: 85%; } div.table-wrapper { border-right: 1px solid #efefef; } img { width: 100%; } } + + +footer { padding-top: 80px; }