Skip to content

Commit

Permalink
IDs for links to individual rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed May 3, 2024
1 parent a15bb6d commit 22c8418
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
14 changes: 8 additions & 6 deletions src/website/article/liberty-units-ftw/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% assign articleTitle = 'Liberty Units FTW!' %}
{% assign heroImage = 'statue-of-liberty-on-4th-of-july.jpg' %}
{% assign heroCaption = 'Statue of Liberty on 4th of July' %}
{% assign heroImage = 'statue-of-liberty-fireworks.jpg' %}
{% assign heroCaption = 'Statue of Liberty on the Fourth of July' %}
{% render 'src/templates/doc-begin.html', articleTitle: articleTitle, heroImage: heroImage, heroCaption: heroCaption %}

<main>
Expand All @@ -12,7 +12,7 @@ <h2>{{articleTitle}}</h2>
<figcaption>{{heroCaption}}</figcaption>
</figure>
<p>
Fahrenheit, miles, pounds, and gallons are imperial units from the days
Miles, pounds, and gallons are imperial units from the days
<b><i>before</i></b> our freedom when we were ruled over by a foreign king.&nbsp;
The king pressed his <b>foot</b> onto our neck, but the Founding Fathers rebelled.&nbsp;
</p>
Expand All @@ -25,15 +25,17 @@ <h2>{{articleTitle}}</h2>
<b>Liberty Units FTW!</b>
</p>
<figure>
<img src=washington-crossing-the-delaware.jpg data-author=emanuel-leutze data-license=public-domain alt=painting>
<figcaption>Washington Crossing the Delaware by Emanuel Leutze</figcaption>
<img src=crossing-the-delaware.jpg data-author=emanuel-leutze data-license=public-domain alt=painting>
<figcaption>George Washington Crossing the Delaware by Emanuel Leutze</figcaption>
</figure>
</section>

<section>
<p>
The copper part of the Statue of Liberty stands 46 meters tall, and the top of the torch
is 93 meters above ground level.
is 93 meters above ground level.&nbsp;
Washington's boat in Leutze's famous painting is depicted at about 4 or 5 meters
long.&nbsp;
</p>
<figure>🇺🇸 🗽 🇺🇸</figure>
</section>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions src/website/article/rules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>{{articleTitle}}</h2>
</figure>
</section>

<section>
<section id=no-whining>
<h2>Don't be whiny</h2>
<p>
We advocate for metrication.&nbsp;
Expand All @@ -22,7 +22,7 @@ <h2>Don't be whiny</h2>
</p>
</section>

<section>
<section id=fuck-yeah>
<h2>America, Fuck Yeah</h2>
<p>
We do not tolerate whimpering and sniveling about Americans being too this or that to
Expand All @@ -39,7 +39,7 @@ <h2>America, Fuck Yeah</h2>
</p>
</section>

<section>
<section id=no-conversions>
<h2>No unit conversion tips</h2>
<p>
Doing unit conversions is like driving a rusted out Yugo or Trabant.&nbsp;
Expand All @@ -49,7 +49,7 @@ <h2>No unit conversion tips</h2>
</p>
</section>

<section>
<section id=no-jerks>
<h2>Do not debate spelling or pronunciation</h2>
<p>
In America we spell and pronounce some metric words, like kilometer, differently than in
Expand All @@ -76,7 +76,7 @@ <h2>Do not debate spelling or pronunciation</h2>
</p>
</section>

<section>
<section id=no-pedantry>
<h2>Don't be pedantic</h2>
<p>
Following SI (International System of Units) rules correctly is important in professional
Expand All @@ -92,7 +92,7 @@ <h2>Don't be pedantic</h2>
</section>


<section>
<section id=elephants>
<h2>Don't lie about elephants being imperial units</h2>
<p>
<figure>
Expand All @@ -108,7 +108,7 @@ <h2>Don't lie about elephants being imperial units</h2>
</p>
</section>

<section>
<section id=metric-clocks>
<h2>Metric clock gibberish is prohibited</h2>
<p>
Metric clocks are a goofy idea that have nothing to do with metrication.&nbsp;
Expand Down

0 comments on commit 22c8418

Please sign in to comment.