+ <%- partial('_partial/header') %>
+
+ <%- partial('_partial/generalinfo') %>
+
+ <%- partial('_partial/world') %>
+
+ <%- partial('_partial/contributing') %>
+ <%- partial('_partial/buttons') %>
+
diff --git a/themes/starter/scripts/hexo-helpers.js b/themes/starter/scripts/hexo-helpers.js
index c1025fe..1b97df5 100644
--- a/themes/starter/scripts/hexo-helpers.js
+++ b/themes/starter/scripts/hexo-helpers.js
@@ -3,6 +3,7 @@
hexo.extend.helper.register('is_root', isRoot);
hexo.extend.helper.register('get_langs', getLangs);
hexo.extend.helper.register('switch_lang', switchLang);
+hexo.extend.helper.register('getPath', getPath);
function isRoot() {
return this.page.path === 'index.html';
@@ -22,3 +23,10 @@ function switchLang(lang) {
}
return '';
}
+
+function getPath() {
+ const url = this.page.path;
+ const filename = url.substr(3);
+ const splitPath = filename.split("/");
+ return splitPath[0];
+}
diff --git a/themes/starter/source/assets/scss/modules/_chronicles.scss b/themes/starter/source/assets/scss/modules/_chronicles.scss
index 07b3fc7..9242a0a 100644
--- a/themes/starter/source/assets/scss/modules/_chronicles.scss
+++ b/themes/starter/source/assets/scss/modules/_chronicles.scss
@@ -184,7 +184,8 @@ $taglist: (diaspora, $diaspora),
(postactiv, $postactiv),
(peertube, $peertube),
(misskey, $misskey),
- (osada, $osada);
+ (osada, $osada),
+ (pixelfed, $pixelfed);
@each $tag, $color in $taglist {
svg.#{$tag} {
diff --git a/themes/starter/source/assets/scss/modules/_index.scss b/themes/starter/source/assets/scss/modules/_index.scss
index 20e9535..6197e3b 100644
--- a/themes/starter/source/assets/scss/modules/_index.scss
+++ b/themes/starter/source/assets/scss/modules/_index.scss
@@ -119,6 +119,11 @@
left: 90%;
}
+.f-PixelFed {
+ top: 74%;
+ left: 7%;
+}
+
.grid__card {
opacity: 0;
position: absolute;
diff --git a/themes/starter/source/assets/scss/partials/_colors.scss b/themes/starter/source/assets/scss/partials/_colors.scss
index 5210836..c092733 100644
--- a/themes/starter/source/assets/scss/partials/_colors.scss
+++ b/themes/starter/source/assets/scss/partials/_colors.scss
@@ -21,3 +21,4 @@ $aardwolf: #46332d;
$peertube: #f1680d;
$misskey: #db3f86;
$osada: #008000;
+$pixelfed: #6736dd;