浏览代码

Footer navigation links fix

Closes #260
priyanshsaxena 4 年之前
父节点
当前提交
1c3154d47a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      layouts/partials/footer.html

+ 1 - 1
layouts/partials/footer.html

@@ -47,7 +47,7 @@
                 {{ $sectionID = .section.id }}
               {{ end }}
               <li class="nav-item">
-                <a class="smooth-scroll" href="#{{ $sectionID }}">{{ .section.name }}</a>
+                <a class="smooth-scroll" href="/#{{ $sectionID }}">{{ .section.name }}</a>
               </li>
             {{ end }}
           {{- end }}