From 397eadae2a7f54ae8f566bed53fae46c7fed2665 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 6 Mar 2020 11:05:51 +0000 Subject: [PATCH] fix(footer): propagate footer links from config --- _config.yml | 5 ++++- themes/chameleon/layout/_partial/footer.ejs | 5 ++++- themes/chameleon/layout/_partial/header.ejs | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 6e05bcb..cee51d5 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,6 @@ timezone: # URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: https://mdleom.com -onion: http://xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion root: / permalink: blog/:year/:month/:day/:title/ permalink_defaults: @@ -94,6 +93,10 @@ theme_config: Feed: /atom.xml GitLab: https://gitlab.com/curben/blog + footer: + Disclaimer: /disclaimer/ + Onion: http://xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion + # Your Feed Location # https://github.com/hexojs/hexo-generator-feed rss: /atom.xml diff --git a/themes/chameleon/layout/_partial/footer.ejs b/themes/chameleon/layout/_partial/footer.ejs index 9df022d..744db84 100644 --- a/themes/chameleon/layout/_partial/footer.ejs +++ b/themes/chameleon/layout/_partial/footer.ejs @@ -8,6 +8,9 @@