Use semantic tags on all website pages

This commit is contained in:
Sebastian Zhorel 2020-01-03 23:23:33 +01:00
parent d1f9005e32
commit 38acfd0c0c
6 changed files with 119 additions and 111 deletions

View File

@ -1,5 +1,7 @@
---
layout: default
---
<h2 class="contentheading">{{ page.title }}</h2>
<section>
<h2 class="contentheading">{{ page.title }}</h2>
{{ content }}
</section>

View File

@ -1,33 +1,37 @@
---
layout: default-with-title
layout: default
---
<table class="contentpaneopen">
<tr>
<td valign="top" class="createdate">
{{ page.date | date: "%A, %Y-%m-%d" }}
</td>
<td valign="top" align="right" class="createdate">
{{ page.author }}
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<section>
<article>
<h2 class="contentheading">{{ page.title }}</h2>
<table class="contentpaneopen">
<tr>
<td valign="top" class="createdate">
{{ page.date | date: "%A, %Y-%m-%d" }}
</td>
<td valign="top" align="right" class="createdate">
{{ page.author }}
</td>
</tr>
<tr>
<td valign="top" colspan="2">
{{ content }}
</td>
</tr>
</table>
<span class="article_seperator">&nbsp;</span>
<table align="center" style="margin-top: 25px;">
<tr>
<th class="pagenav_prev">
{% if page.previous %}<a href="{{ page.previous.url }}">{% endif %}&lt; Prev{% if page.previous %}</a>{% endif %}
</th>
<td width="50">&nbsp;
</td>
<th class="pagenav_next">
{% if page.next %}<a href="{{ page.next.url }}">{% endif %}Next &gt;{% if page.next %}</a>{% endif %}
</th>
</tr>
</table>
</td>
</tr>
</table>
</article>
<nav>
<table align="center" style="margin-top: 25px;">
<tr>
<th class="pagenav_prev">
{% if page.previous %}<a href="{{ page.previous.url }}">{% endif %}&lt; Prev{% if page.previous %}</a>{% endif %}
</th>
<td width="50">&nbsp;
</td>
<th class="pagenav_next">
{% if page.next %}<a href="{{ page.next.url }}">{% endif %}Next &gt;{% if page.next %}</a>{% endif %}
</th>
</tr>
</table>
</nav>
</section>

View File

@ -1,18 +1,18 @@
---
layout: default-with-title
layout: page
---
<table class="contentpaneopen">
<tr>
<td valign="top" class="createdate">
{{ page.date | date: "%A, %Y-%m-%d" }}
</td>
<td valign="top" align="right" class="createdate">
{{ page.author }}
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<table class="contentpaneopen">
<tr>
<td valign="top" class="createdate">
{{ page.date | date: "%A, %Y-%m-%d" }}
</td>
<td valign="top" align="right" class="createdate">
{{ page.author }}
</td>
</tr>
<tr>
<td valign="top" colspan="2">
{{ content }}
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@ -1,10 +1,9 @@
---
layout: default-with-title
layout: default
---
<table class="contentpaneopen">
<tr>
<td valign="top" colspan="2">
<section>
<article>
<h2 class="contentheading">{{ page.title }}</h2>
{{ content }}
</td>
</tr>
</table>
</article>
</section>

View File

@ -2,61 +2,56 @@
layout: default
title: Home
---
<table border="0">
<tr>
<td align="justify">
<table border="0">
<tr>
<td valign="top">
FreeCol is a turn-based strategy game based on the old game <a href="about.html#original">Colonization</a>, and similar to Civilization. The objective of the game is to create an independent nation.<br />
&nbsp;&nbsp;&nbsp;You start with only a few colonists defying the stormy seas in their search for new land. Will you guide them on the <em>Colonization of a New World</em>?
</td>
<td rowspan="2" width="233">
<a href="screenshots.html"><img src="images/welcome2.jpg" alt="SCREENSHOTS" border="0" align="right" width="230" height="195" /></a>
</td>
</tr>
<tr>
<td valign="bottom">
<table border="0">
<tr>
<td>
<a href="download.html"><img src="images/download2.png" border="0" alt="" /></a>
</td>
<td>
<strong><em><a href="download.html">Download latest version of FreeCol</a></em></strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<h2 class="contentheading">Latest News</h2>
<table class="blog" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<div class="blog_more">
<ul>
<li>
<a class="blogsection" href="{{ site.posts[0].url }}">
{{ site.posts[0].title }}
</a>
</li>
<li>
<a class="blogsection" href="{{ site.posts[1].url }}">
{{ site.posts[1].title }}
</a>
</li>
<li>
<a class="blogsection" href="{{ site.posts[2].url }}">
{{ site.posts[2].title }}
</a>
</li>
</ul>
</div>
</td>
</tr>
</table>
<section>
<article>
<table border="0">
<tr>
<td valign="top">
FreeCol is a turn-based strategy game based on the old game <a href="about.html#original">Colonization</a>, and similar to Civilization. The objective of the game is to create an independent nation.<br />
&nbsp;&nbsp;&nbsp;You start with only a few colonists defying the stormy seas in their search for new land. Will you guide them on the <em>Colonization of a New World</em>?
</td>
<td rowspan="2" width="233">
<a href="screenshots.html"><img src="images/welcome2.jpg" alt="screenshots" border="0" align="right" width="230" height="195" /></a>
</td>
</tr>
<tr>
<td valign="bottom">
<table border="0">
<tr>
<td>
<a href="download.html"><img src="images/download2.png" border="0" alt="" /></a>
</td>
<td>
<strong><em><a href="download.html">Download latest version of FreeCol</a></em></strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</article>
</section>
<section>
<nav>
<h2 class="contentheading">Latest News</h2>
<div class="blog_more">
<ul>
<li>
<a class="blogsection" href="{{ site.posts[0].url }}">
{{ site.posts[0].title }}
</a>
</li>
<li>
<a class="blogsection" href="{{ site.posts[1].url }}">
{{ site.posts[1].title }}
</a>
</li>
<li>
<a class="blogsection" href="{{ site.posts[2].url }}">
{{ site.posts[2].title }}
</a>
</li>
</ul>
</div>
</nav>
</section>

View File

@ -5,6 +5,7 @@
path: /community.html
name: Community
---
<section>
<h2 class="contentheading">FreeCol</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane">
<tr>
@ -45,6 +46,8 @@
</td>
</tr>
</table>
</section>
<section>
<h2 class="contentheading">Colonization</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane">
<tr>
@ -85,6 +88,8 @@
</td>
</tr>
</table>
</section>
<section>
<h2 class="contentheading">Colonization Clones</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane">
<tr>
@ -172,6 +177,8 @@
</td>
</tr>
</table>
</section>
<section>
<h2 class="contentheading">Related Games</h2>
<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane">
<tr>
@ -213,3 +220,4 @@
</td>
</tr>
</table>
</section>