Style: Add anchor links to all subheads

* Adds Makefile test to ensure all subheadings, except those on Choose
  Your Wallet, have an ID (anchor reference)

* Adds an ID to all subheads that didn't have on previously
This commit is contained in:
David A. Harding 2015-04-09 11:30:28 -04:00
parent 08a46640f0
commit 4213d102da
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
31 changed files with 222 additions and 211 deletions

View file

@ -16,13 +16,13 @@ lastchange: "November 22th, 2014."
{% else %}
<h3>1. {% translate information %}</h3>
<h3 id="information">1. {% translate information %}</h3>
<p>{% translate informationtxt1 %}</p>
<h3>2. {% translate translations %}</h3>
<h3 id="translations">2. {% translate translations %}</h3>
<p>{% translate translationstxt1 %}</p>
<h3>3. {% translate userisks %}</h3>
<h3 id="userisks">3. {% translate userisks %}</h3>
<p>{% translate useriskstxt1 %}</p>
<p>(1) {% translate useriskstxt2 %}</p>
<p>(2) {% translate useriskstxt3 %}</p>
@ -30,40 +30,40 @@ lastchange: "November 22th, 2014."
<p>(4) {% translate useriskstxt5 %}</p>
<p>(5) {% translate useriskstxt6 %}</p>
<h3>4. {% translate investmentrisks %}</h3>
<h3 id="investmentrisks">4. {% translate investmentrisks %}</h3>
<p>{% translate investmentriskstxt1 %}</p>
<h3>5. {% translate taxcompliance %}</h3>
<h3 id="taxcompliance">5. {% translate taxcompliance %}</h3>
<p>{% translate taxcompliancetxt1 %}</p>
<h3>6. {% translate noissuer %}</h3>
<h3 id="noissuer">6. {% translate noissuer %}</h3>
<p>{% translate noissuertxt1 %}</p>
<h3>7. {% translate nowarranties %}</h3>
<h3 id="nowarranties">7. {% translate nowarranties %}</h3>
<p>{% translate nowarrantiestxt1 %}</p>
<h3>8. {% translate noliability %}</h3>
<h3 id="noliability">8. {% translate noliability %}</h3>
<p>{% translate noliabilitytxt1 %}</p>
<h3>9. {% translate arbitration %}</h3>
<h3 id="arbitration">9. {% translate arbitration %}</h3>
<p>{% translate arbitrationtxt1 %}</p>
<h3>10. {% translate lastchange %}</h3>
<h3 id="lastchange">10. {% translate lastchange %}</h3>
<p>{% translate lastchangetxt1 %} {{ page.lastchange }}</p>
{% endcase %}
{% if page.lang != 'en' %}
<h1>English version</h1>
<h1 id="english-version">English version</h1>
<h3>1. {% translate information legal en %}</h3>
<h3 id="english-information">1. {% translate information legal en %}</h3>
<p>{% translate informationtxt1 legal en %}</p>
<h3>2. {% translate translations legal en %}</h3>
<h3 id="english-translations">2. {% translate translations legal en %}</h3>
<p>{% translate translationstxt1 legal en %}</p>
<h3>3. {% translate userisks legal en %}</h3>
<h3 id="english-userisks">3. {% translate userisks legal en %}</h3>
<p>{% translate useriskstxt1 legal en %}</p>
<p>(1) {% translate useriskstxt2 legal en %}</p>
<p>(2) {% translate useriskstxt3 legal en %}</p>
@ -71,25 +71,25 @@ lastchange: "November 22th, 2014."
<p>(4) {% translate useriskstxt5 legal en %}</p>
<p>(5) {% translate useriskstxt6 legal en %}</p>
<h3>4. {% translate investmentrisks legal en %}</h3>
<h3 id="english-investmentrisks">4. {% translate investmentrisks legal en %}</h3>
<p>{% translate investmentriskstxt1 legal en %}</p>
<h3>5. {% translate taxcompliance legal en %}</h3>
<h3 id="english-taxcompliance">5. {% translate taxcompliance legal en %}</h3>
<p>{% translate taxcompliancetxt1 legal en %}</p>
<h3>6. {% translate noissuer legal en %}</h3>
<h3 id="english-noissuer">6. {% translate noissuer legal en %}</h3>
<p>{% translate noissuertxt1 legal en %}</p>
<h3>7. {% translate nowarranties legal en %}</h3>
<h3 id="english-nowarranties">7. {% translate nowarranties legal en %}</h3>
<p>{% translate nowarrantiestxt1 legal en %}</p>
<h3>8. {% translate noliability legal en %}</h3>
<h3 id="english-noliability">8. {% translate noliability legal en %}</h3>
<p>{% translate noliabilitytxt1 legal en %}</p>
<h3>9. {% translate arbitration legal en %}</h3>
<h3 id="english-arbitration">9. {% translate arbitration legal en %}</h3>
<p>{% translate arbitrationtxt1 legal en %}</p>
<h3>10. {% translate lastchange legal en %}</h3>
<h3 id="english-lastchange">10. {% translate lastchange legal en %}</h3>
<p>{% translate lastchangetxt1 legal en %} {{ page.lastchange }}</p>
{% endif %}