浏览代码

Add id to About me, My projects and Recent posts section on home page

Talha Mansoor 11 年之前
父节点
当前提交
b1b1241672
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      templates/index.html

+ 3 - 3
templates/index.html

@@ -19,7 +19,7 @@ Home page of the {{ SITENAME|striptags }} blog.
         {% if LANDING_PAGE_ABOUT and LANDING_PAGE_ABOUT.details %}
         <div class="span8">
             <header>
-            <h1>About me</h1>
+            <h1 id="about-me">About me</h1>
             </header>
             <div class="article-content">
                 {{ LANDING_PAGE_ABOUT.details }}
@@ -30,7 +30,7 @@ Home page of the {{ SITENAME|striptags }} blog.
         {% if PROJECTS %}
         <div class="span4">
             <header>
-            <h1>My Projects</h1>
+            <h1 id="my-projects">My Projects</h1>
             {% for project in PROJECTS %}
             <ul class="list-all-articles">
                 <li>
@@ -46,7 +46,7 @@ Home page of the {{ SITENAME|striptags }} blog.
     <div class="row-fluid">
         <div class="span12">
             <header>
-            <h1>Recent Posts <a id="allposts" href="{{ SITEURL }}/archives.html">all posts</a></h1>
+            <h1 id="recent-posts">Recent Posts <a id="allposts" href="{{ SITEURL }}/archives.html">all posts</a></h1>
             </header>
             {% for article in articles %}
             {% if loop.index0 < RECENT_ARTICLES_COUNT %}