Skip to content

Commit

Permalink
Debloat scores page
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnoc committed Nov 19, 2023
1 parent cebf25f commit aa083df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
19 changes: 5 additions & 14 deletions scores/index.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,20 @@ OrdinaryDictionaryReplacement: #.boilerplate-properties-override

# Perth Mahjong Society Scores


##{#compiled} Compiled scores

--
Compiled from [raw scores] using [`mahjongscore.py`].
Compiled from [`scores.txt`] using [`mahjongscore.py`].
Rows are sorted by Net Score Per Game.
--

###{#latest} Latest meet (%date-latest)

%%score-table(latest)
##{#latest} Latest meet (%date-latest)

###{#all-time} All time

%%score-table(all-time)
%%score-table(latest)


##{#raw} Raw scores
##{#all-time} All time

--
See [`scores.txt`].
--
%%score-table(all-time)

[`mahjongscore.py`]: https://github.com/yawnoc/mahjong-scorer
[raw scores]: #raw
[`scores.txt`]: scores.txt
11 changes: 3 additions & 8 deletions scores/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@
</nav>
</header>
<h1>Perth Mahjong Society Scores</h1>
<h2 id="compiled">Compiled scores</h2>
<p>
Compiled from <a href="#raw">raw scores</a> using <a href="https://github.com/yawnoc/mahjong-scorer"><code>mahjongscore.py</code></a>.
Compiled from <a href="scores.txt"><code>scores.txt</code></a> using <a href="https://github.com/yawnoc/mahjong-scorer"><code>mahjongscore.py</code></a>.
Rows are sorted by Net Score Per Game.
</p>
<h3 id="latest">Latest meet (2023-11-19)</h3>
<h2 id="latest">Latest meet (2023-11-19)</h2>
<div class="wide">
<table>
<thead>
Expand Down Expand Up @@ -136,7 +135,7 @@ <h3 id="latest">Latest meet (2023-11-19)</h3>
</tfoot>
</table>
</div>
<h3 id="all-time">All time</h3>
<h2 id="all-time">All time</h2>
<div class="wide">
<table>
<thead>
Expand Down Expand Up @@ -307,10 +306,6 @@ <h3 id="all-time">All time</h3>
</tfoot>
</table>
</div>
<h2 id="raw">Raw scores</h2>
<p>
See <a href="scores.txt"><code>scores.txt</code></a>.
</p>
<footer>
Source: <a href="https://github.com/perthmahjongsoc/perthmahjongsoc.github.io/blob/master/scores/index.cmd"><code>scores/index.cmd</code></a>.
Last modified: <time datetime="2023-11-19">2023-11-19</time>.
Expand Down

0 comments on commit aa083df

Please sign in to comment.