From 0d23274e582c0e86decf2c17321bb1b90612a4e3 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Mon, 11 Mar 2024 10:36:15 +0100 Subject: [PATCH] Tidy up the layouts and pages --- _guides/seeder.md | 2 +- _includes/meta.html | 9 +++++++-- _layouts/guide.html | 17 ++--------------- _layouts/{home.html => index.html} | 1 + _layouts/page.html | 1 + assets/css/{main.css => guide.css} | 1 + index.css => assets/css/page.css | 0 index.md | 4 ++-- 8 files changed, 15 insertions(+), 20 deletions(-) rename _layouts/{home.html => index.html} (94%) rename assets/css/{main.css => guide.css} (99%) rename index.css => assets/css/page.css (100%) diff --git a/_guides/seeder.md b/_guides/seeder.md index c5edda0..9f37c03 100644 --- a/_guides/seeder.md +++ b/_guides/seeder.md @@ -27,7 +27,7 @@ In Radicle, while all users contribute to the network by seeding data, the term internet and hosts content for peers. Seed nodes need to remain online and accessible to provide their service to the network. -### The Need for Seed Nodes +### The need for seed nodes While a peer-to-peer network without seed nodes is feasible, it is impractical. This is because regular "user" nodes go online and offline all the time, so diff --git a/_includes/meta.html b/_includes/meta.html index 8d1288d..dceba5b 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -1,6 +1,11 @@ -Radicle: sovereign code infrastructure + + {% if page.title %} + {{ page.title }} + {% else %} + {{ site.title }} + {% endif %} + - diff --git a/_layouts/guide.html b/_layouts/guide.html index 2780315..6bb9bf7 100644 --- a/_layouts/guide.html +++ b/_layouts/guide.html @@ -1,21 +1,8 @@ - - {% if page.title %} - {{ page.title }} - {% else %} - {{ site.title }} - {% endif %} - - - - - - - - - + {% include meta.html %} +
diff --git a/_layouts/home.html b/_layouts/index.html similarity index 94% rename from _layouts/home.html rename to _layouts/index.html index 9ba1926..56d247b 100644 --- a/_layouts/home.html +++ b/_layouts/index.html @@ -2,6 +2,7 @@ {% include meta.html %} + diff --git a/_layouts/page.html b/_layouts/page.html index 650aa9f..fe4819b 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,6 +2,7 @@ {% include meta.html %} + {% include header.html %} diff --git a/assets/css/main.css b/assets/css/guide.css similarity index 99% rename from assets/css/main.css rename to assets/css/guide.css index 97c8357..cdced22 100644 --- a/assets/css/main.css +++ b/assets/css/guide.css @@ -1,6 +1,7 @@ @charset "utf-8"; @import "/assets/css/common.css"; @import "/assets/css/fonts.css"; +@import "/assets/css/monokai.css"; main, footer { display: grid; diff --git a/index.css b/assets/css/page.css similarity index 100% rename from index.css rename to assets/css/page.css diff --git a/index.md b/index.md index cd771bc..8ff9509 100644 --- a/index.md +++ b/index.md @@ -1,6 +1,6 @@ --- -title: "Radicle: sovereign code infrastructure" -layout: home +title: "Radicle: the sovereign forge" +layout: index --- # Synopsis