Sfoglia il codice sorgente

Rename SITESUBTITLE to SITE_SUBTITLE

Talha Mansoor 11 anni fa
parent
commit
e479ce72db

+ 1 - 0
RELEASE_NOTES.md

@@ -16,6 +16,7 @@ Version 2.0 (under development)
 * Add Disqus comments to Pages
 * All customizable variables consolidated in a single `_defaults.html`, making
   it easier for you to customize or even *localize* the theme
+* Rename `SITESUBTITLE` to `SITE_SUBTITLE`
 
 Performance
 -----------

+ 3 - 3
templates/_includes/_defaults.html

@@ -106,10 +106,10 @@ search results and social media #}
 {% endif %}
 
 {# It is displayed along with the SITENAME in the footer of every page #}
-{% if not SITESUBTITLE %}
-{% set SITESUBTITLE = '' %}
+{% if not SITE_SUBTITLE %}
+{% set SITE_SUBTITLE = '' %}
 {% else %}
-{% set SITESUBTITLE = SITESUBTITLE %}
+{% set SITE_SUBTITLE = SITE_SUBTITLE %}
 {% endif %}
 
 {# Set it to True to display favicon and speed dial icon. Also make sure that

+ 3 - 3
templates/_includes/footer.html

@@ -1,9 +1,9 @@
 <footer>
 <div id="footer">
     <ul class="footer-content">
-        {% from '_includes/_defaults.html' import SITESUBTITLE with context %}
-        {% if SITESUBTITLE %}
-        <li class="elegant-subtitle"><span class="site-name">{{ SITENAME }}</span> - {{ SITESUBTITLE }}</li>
+        {% from '_includes/_defaults.html' import SITE_SUBTITLE with context %}
+        {% if SITE_SUBTITLE %}
+        <li class="elegant-subtitle"><span class="site-name">{{ SITENAME }}</span> - {{ SITE_SUBTITLE }}</li>
         {% endif %}
         {% from '_includes/_defaults.html' import SITE_LICENSE with context %}
         {% if SITE_LICENSE %}