From 261fefd3668704be161f2e4ce334e928fe18b525 Mon Sep 17 00:00:00 2001 From: droak Date: Sat, 15 Jun 2024 11:44:05 +0100 Subject: [PATCH] change _posts structure; change index to md; rm useless stuff --- .github/workflows/jekyll.yml | 5 ---- Gemfile | 1 - _config.yml | 4 +-- _includes/svg_icons.html | 48 ---------------------------------- {RFRs => _posts/RFRs}/rfr-1.md | 0 _posts/TIPs/tip-1.md | 7 +++++ index.html | 19 -------------- home.md => index.md | 1 - {RFRs => pages}/rfr.md | 0 {TIPs => pages}/tip.md | 0 10 files changed, 8 insertions(+), 77 deletions(-) rename {RFRs => _posts/RFRs}/rfr-1.md (100%) create mode 100644 _posts/TIPs/tip-1.md delete mode 100644 index.html rename home.md => index.md (83%) rename {RFRs => pages}/rfr.md (100%) rename {TIPs => pages}/tip.md (100%) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 4c5880e..68520b5 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -42,11 +42,6 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v5 - - name: Copy all RFRs and TIPs to _posts - run: | - mkdir _posts - cp RFRs/* _posts - cp TIPs/* _posts - name: Build with Jekyll # Outputs to the './_site' directory by default run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" diff --git a/Gemfile b/Gemfile index e211b56..06aa512 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,5 @@ gem "webrick", "~> 1.7" group :jekyll_plugins do gem 'jekyll-seo-tag' gem 'jekyll-sitemap' - gem "jekyll-timeago", "~> 0.13.1" gem 'jekyll-feed' end diff --git a/_config.yml b/_config.yml index 266ae84..4651904 100644 --- a/_config.yml +++ b/_config.yml @@ -39,11 +39,9 @@ permalink: /posts/:title # Includes an icon in the footer for each username you enter footer-links: + # we should add a research@topology.gg group email: - facebook: github: topology-foundation/TIPs - instagram: - linkedin: rss: # just type anything here for a working RSS icon twitter: topology_gg diff --git a/_includes/svg_icons.html b/_includes/svg_icons.html index ee6491c..7dc0bf7 100644 --- a/_includes/svg_icons.html +++ b/_includes/svg_icons.html @@ -13,22 +13,6 @@ /> -{% endif %} {% if site.footer-links.instagram %} - - {% endif %} {% if site.footer-links.twitter %} -{% endif %} {% if site.footer-links.facebook %} - - {% endif %} {% if site.footer-links.github %} -{% endif %} {% if site.footer-links.linkedin %} - - {% endif %} {% if site.footer-links.rss %} - {% for post in site.posts %} {% assign currDate = post.date | date: "%Y" %} {% - if currDate != date %} -

{{ currDate }}

- {% assign date = currDate %} {% endif %} -
- - {{ post.title }} -
- {% endfor %} - diff --git a/home.md b/index.md similarity index 83% rename from home.md rename to index.md index 9147e37..9d67c99 100644 --- a/home.md +++ b/index.md @@ -1,7 +1,6 @@ --- layout: page title: Home -permalink: /home/ --- (Introduction: TIPs and RFRs) diff --git a/RFRs/rfr.md b/pages/rfr.md similarity index 100% rename from RFRs/rfr.md rename to pages/rfr.md diff --git a/TIPs/tip.md b/pages/tip.md similarity index 100% rename from TIPs/tip.md rename to pages/tip.md