From 29235f6d3a13b4f7014afd636da4705a937b8db8 Mon Sep 17 00:00:00 2001 From: ZNEIAT <1149527164@qq.com> Date: Sat, 28 Apr 2018 12:13:05 -0700 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=AF=E6=8C=81=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=20#profile=20(#318)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml.example | 1 + layout/common/profile.ejs | 2 +- source/css/_partial/profile.styl | 12 +++++ source/js/main.js | 88 ++++++++++++++++++++++++++------ 4 files changed, 85 insertions(+), 18 deletions(-) diff --git a/_config.yml.example b/_config.yml.example index 9529314..cd1eb00 100644 --- a/_config.yml.example +++ b/_config.yml.example @@ -15,6 +15,7 @@ customize: url: images/logo.png profile: enabled: true # Whether to show profile bar + fixed: true avatar: css/images/avatar.png gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden author: PPOffice diff --git a/layout/common/profile.ejs b/layout/common/profile.ejs index c108412..bb0ec75 100644 --- a/layout/common/profile.ejs +++ b/layout/common/profile.ejs @@ -1,6 +1,6 @@ <% var profile = theme.customize.profile; %> <% var tagCount = site.tags.filter(function(tag) { return tag.length; }).length; %> -