Selaa lähdekoodia

add follow link config

ppoffice 10 vuotta sitten
vanhempi
commit
6e5b72426f
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      _config.yml.site.example
  2. 1 1
      layout/_partial/profile.ejs

+ 1 - 0
_config.yml.site.example

@@ -10,6 +10,7 @@ author: PPOffice
 author_title: 'Web Developer & Designer'
 avatar: css/images/avatar.png
 location: 'Harbin, China'
+follow: https://github.com/ppoffice/
 language: en
 timezone:
 

+ 1 - 1
layout/_partial/profile.ejs

@@ -5,7 +5,7 @@
       <h2 id="name"><%= config.author %></h2>
       <h3 id="title"><%= config.author_title %></h3>
       <span id="location"><i class="fa fa-map-marker"></i><%= config.location %></span>
-      <a id="follow" href="http://github.com/ppoffice"><%=__('profile.follow')%></a>
+      <a id="follow" href="<%= config.follow %>"><%=__('profile.follow')%></a>
   	</div>
     <div class="article-info profile-block">
       <div class="article-info-block">