correct camel case of GitHub

This commit is contained in:
Richard Rutter
2014-02-27 23:36:16 +00:00
parent 0258562783
commit 75c6477eb0
2 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
<p id="footer">
This website is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>. It was <a href="http://www.clagnut.com/blog/1600/">created</a> and is maintained by <a href="http://www.clagnut.com/">Richard Rutter</a>. Please feel free to contribute by <a href="https://github.com/clagnut/webtypography">forking it on Github</a>.
This website is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>. It was <a href="http://www.clagnut.com/blog/1600/">created</a> and is maintained by <a href="http://www.clagnut.com/">Richard Rutter</a>. Please feel free to contribute by <a href="https://github.com/clagnut/webtypography">forking it on GitHub</a>.
</p>

View File

@@ -35,7 +35,8 @@ OL {list-style:none}
foreach($chapters as $chapter_num => $chapter) {
echo "<li id='$chapter_num'><span>$chapter_num </span><h3>".htmlentities($chapter)."</h3>\n<ol>\n";
foreach($sections as $section_num => $section) {
$section_chapter = explode("." , $section_num)[0];
$section_chapter_ar = explode("." , $section_num);
$section_chapter = $section_chapter_ar[0];
if($section_chapter == $chapter_num) {
echo "<li id='$section_num'><span>$section_num </span><h4>".htmlentities($section)."</h4>\n<ol>\n";
foreach($items as $item_num => $item) {