Zachary Betz 6 năm trước cách đây
mục cha
commit
9f8fa6b85e

+ 3 - 1
layouts/partials/footer.html

@@ -5,5 +5,7 @@
       <span aria-hidden="true"></span>
       <span aria-hidden="true"></span>
     </label>
     </label>
   </div>
   </div>
-  {{ .Site.Params.footer | markdownify }}
+  {{ with .Site.Params.footer }}
+    {{ . | markdownify }}
+  {{ end }}
 </footer>
 </footer>

+ 3 - 1
layouts/partials/header.html

@@ -5,7 +5,9 @@
         <img src="{{ "images/logo.svg" | absURL }}" alt="">
         <img src="{{ "images/logo.svg" | absURL }}" alt="">
       </a>
       </a>
       <p class="library-desc">
       <p class="library-desc">
-        {{ .Site.Params.description | markdownify }}
+        {{ with .Site.Params.description }}
+          {{ . | markdownify }}
+        {{ end }}
         </a>
         </a>
       </p>
       </p>
     </div>
     </div>