261 lines
11 KiB
HTML
261 lines
11 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<link href="http://gmpg.org/xfn/11" rel="profile">
|
||
|
||
<!-- Enable responsiveness on mobile devices-->
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
||
<title>
|
||
|
||
Mr. Rogbeer is from Mauritius but not ~rogbeer · What are you doing with your sack of flesh? That's the question
|
||
|
||
</title>
|
||
|
||
<!-- CSS -->
|
||
<link rel="stylesheet" href="/~rogbeer/styles.css">
|
||
|
||
<!-- Icons -->
|
||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/~rogbeer/public/apple-touch-icon-precomposed.png">
|
||
<link rel="shortcut icon" href="/~rogbeer/public/favicon.ico">
|
||
|
||
<!-- RSS -->
|
||
<link rel="alternate" type="application/atom+xml" title="Mr. Rogbeer is from Mauritius but not ~rogbeer" href="/~rogbeer/atom.xml">
|
||
</head>
|
||
|
||
|
||
<body>
|
||
|
||
<div class="container content">
|
||
<header class="masthead">
|
||
<h3 class="masthead-title">
|
||
<a href="/~rogbeer/" title="Home">Mr. Rogbeer is from Mauritius but not ~rogbeer</a>
|
||
<small>What are you doing with your sack of flesh? That's the question</small>
|
||
</h3>
|
||
</header>
|
||
|
||
<main>
|
||
<div class="posts">
|
||
|
||
<article class="post">
|
||
<h1 class="post-title">
|
||
<a href="/~rogbeer/2014/01/01/example-content/">
|
||
Example content
|
||
</a>
|
||
</h1>
|
||
|
||
<time datetime="2014-01-01T00:00:00+00:00" class="post-date">01 Jan 2014</time>
|
||
|
||
<div class="message">
|
||
Howdy! This is an example blog post that shows several types of HTML content supported in this theme.
|
||
</div>
|
||
|
||
<p>Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. <em>Aenean eu leo quam.</em> Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.</p>
|
||
|
||
<blockquote>
|
||
<p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
||
</blockquote>
|
||
|
||
<p>Etiam porta <strong>sem malesuada magna</strong> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
|
||
|
||
<h2 id="inline-html-elements">Inline HTML elements</h2>
|
||
|
||
<p>HTML defines a long list of available inline tags, a complete list of which can be found on the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element">Mozilla Developer Network</a>.</p>
|
||
|
||
<ul>
|
||
<li><strong>To bold text</strong>, use <code class="highlighter-rouge"><strong></code>.</li>
|
||
<li><em>To italicize text</em>, use <code class="highlighter-rouge"><em></code>.</li>
|
||
<li>Abbreviations, like <abbr title="HyperText Markup Langage">HTML</abbr> should use <code class="highlighter-rouge"><abbr></code>, with an optional <code class="highlighter-rouge">title</code> attribute for the full phrase.</li>
|
||
<li>Citations, like <cite>— Mark otto</cite>, should use <code class="highlighter-rouge"><cite></code>.</li>
|
||
<li><del>Deleted</del> text should use <code class="highlighter-rouge"><del></code> and <ins>inserted</ins> text should use <code class="highlighter-rouge"><ins></code>.</li>
|
||
<li>Superscript <sup>text</sup> uses <code class="highlighter-rouge"><sup></code> and subscript <sub>text</sub> uses <code class="highlighter-rouge"><sub></code>.</li>
|
||
</ul>
|
||
|
||
<p>Most of these elements are styled by browsers with few modifications on our part.</p>
|
||
|
||
<h2 id="footnotes">Footnotes</h2>
|
||
|
||
<p>Footnotes are supported as part of the Markdown syntax. Here’s one in action. Clicking this number<sup id="fnref:fn-sample_footnote"><a href="#fn:fn-sample_footnote" class="footnote">1</a></sup> will lead you to a footnote. The syntax looks like:</p>
|
||
|
||
<figure class="highlight"><pre><code class="language-text" data-lang="text">Clicking this number[^fn-sample_footnote]</code></pre></figure>
|
||
|
||
<p>Each footnote needs the <code class="highlighter-rouge">^fn-</code> prefix and a unique ID to be referenced for the footnoted content. The syntax for that list looks something like this:</p>
|
||
|
||
<figure class="highlight"><pre><code class="language-text" data-lang="text">[^fn-sample_footnote]: Handy! Now click the return link to go back.</code></pre></figure>
|
||
|
||
<p>You can place the footnoted content wherever you like. Markdown parsers should properly place it at the bottom of the post.</p>
|
||
|
||
<h2 id="heading">Heading</h2>
|
||
|
||
<p>Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
|
||
|
||
<h3 id="code">Code</h3>
|
||
|
||
<p>Inline code is available with the <code class="highlighter-rouge"><code></code> element. Snippets of multiple lines of code are supported through Pygments. Longer lines will automatically scroll horizontally when needed.</p>
|
||
|
||
<figure class="highlight"><pre><code class="language-js" data-lang="js"><span class="c1">// Example can be run directly in your JavaScript console
|
||
</span>
|
||
|
||
<span class="c1">// Create a function that takes two arguments and returns the sum of those arguments
|
||
</span>
|
||
<span class="kd">var</span> <span class="nx">adder</span> <span class="o">=</span> <span class="k">new</span> <span class="nb">Function</span><span class="p">(</span><span class="s2">"a"</span><span class="p">,</span> <span class="s2">"b"</span><span class="p">,</span> <span class="s2">"return a + b"</span><span class="p">);</span>
|
||
|
||
<span class="c1">// Call the function
|
||
</span>
|
||
<span class="nx">adder</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">6</span><span class="p">);</span>
|
||
<span class="c1">// > 8</span></code></pre></figure>
|
||
|
||
<p>You may also optionally show code snippets with line numbers. Add <code class="highlighter-rouge">linenos</code> to the Pygments tags.</p>
|
||
|
||
<figure class="highlight"><pre><code class="language-js" data-lang="js"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
|
||
2
|
||
3
|
||
4
|
||
5
|
||
6
|
||
7
|
||
8
|
||
</pre></td><td class="code"><pre><span class="c1">// Example can be run directly in your JavaScript console
|
||
</span>
|
||
|
||
<span class="c1">// Create a function that takes two arguments and returns the sum of those arguments
|
||
</span>
|
||
<span class="kd">var</span> <span class="nx">adder</span> <span class="o">=</span> <span class="k">new</span> <span class="nb">Function</span><span class="p">(</span><span class="s2">"a"</span><span class="p">,</span> <span class="s2">"b"</span><span class="p">,</span> <span class="s2">"return a + b"</span><span class="p">);</span>
|
||
|
||
<span class="c1">// Call the function
|
||
</span>
|
||
<span class="nx">adder</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="mi">6</span><span class="p">);</span>
|
||
<span class="c1">// > 8</span></pre></td></tr></tbody></table></code></pre></figure>
|
||
|
||
<p>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
|
||
|
||
<h3 id="gists-via-github-pages">Gists via GitHub Pages</h3>
|
||
|
||
<p>Vestibulum id ligula porta felis euismod semper. Nullam quis risus eget urna mollis ornare vel eu leo. Donec sed odio dui.</p>
|
||
|
||
<noscript><pre>400: Invalid request
|
||
</pre></noscript>
|
||
<script src="https://gist.github.com/13f94b734a4ddb132735.js?file=gist.md"> </script>
|
||
|
||
<p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec sed odio dui. Vestibulum id ligula porta felis euismod semper.</p>
|
||
|
||
<h3 id="lists">Lists</h3>
|
||
|
||
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
||
|
||
<ul>
|
||
<li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
|
||
<li>Donec id elit non mi porta gravida at eget metus.</li>
|
||
<li>Nulla vitae elit libero, a pharetra augue.</li>
|
||
</ul>
|
||
|
||
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
|
||
|
||
<ol>
|
||
<li>Vestibulum id ligula porta felis euismod semper.</li>
|
||
<li>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</li>
|
||
<li>Maecenas sed diam eget risus varius blandit sit amet non magna.</li>
|
||
</ol>
|
||
|
||
<p>Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.</p>
|
||
|
||
<dl>
|
||
<dt>HyperText Markup Language (HTML)</dt>
|
||
<dd>The language used to describe and define the content of a Web page</dd>
|
||
|
||
<dt>Cascading Style Sheets (CSS)</dt>
|
||
<dd>Used to describe the appearance of Web content</dd>
|
||
|
||
<dt>JavaScript (JS)</dt>
|
||
<dd>The programming language used to build advanced Web sites and applications</dd>
|
||
</dl>
|
||
|
||
<p>Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
|
||
|
||
<h3 id="images">Images</h3>
|
||
|
||
<p>Quisque consequat sapien eget quam rhoncus, sit amet laoreet diam tempus. Aliquam aliquam metus erat, a pulvinar turpis suscipit at.</p>
|
||
|
||
<p><img src="http://placehold.it/800x400" alt="placeholder" title="Large example image" />
|
||
<img src="http://placehold.it/400x200" alt="placeholder" title="Medium example image" />
|
||
<img src="http://placehold.it/200x200" alt="placeholder" title="Small example image" /></p>
|
||
|
||
<h3 id="tables">Tables</h3>
|
||
|
||
<p>Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>Name</th>
|
||
<th>Upvotes</th>
|
||
<th>Downvotes</th>
|
||
</tr>
|
||
</thead>
|
||
<tfoot>
|
||
<tr>
|
||
<td>Totals</td>
|
||
<td>21</td>
|
||
<td>23</td>
|
||
</tr>
|
||
</tfoot>
|
||
<tbody>
|
||
<tr>
|
||
<td>Alice</td>
|
||
<td>10</td>
|
||
<td>11</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Bob</td>
|
||
<td>4</td>
|
||
<td>3</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Charlie</td>
|
||
<td>7</td>
|
||
<td>9</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<p>Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
|
||
|
||
<hr />
|
||
|
||
<p>Want to see something else added? <a href="https://github.com/poole/poole/issues/new">Open an issue.</a></p>
|
||
|
||
<div class="footnotes">
|
||
<ol>
|
||
<li id="fn:fn-sample_footnote">
|
||
<p>Handy! Now click the return link to go back. <a href="#fnref:fn-sample_footnote" class="reversefootnote">↩</a></p>
|
||
</li>
|
||
</ol>
|
||
</div>
|
||
|
||
</article>
|
||
|
||
</div>
|
||
|
||
<div class="pagination">
|
||
|
||
<a class="pagination-item older" href="/~rogbeer/page6">Older</a>
|
||
|
||
|
||
<a class="pagination-item newer" href="/~rogbeer/page4">Newer</a>
|
||
|
||
</div>
|
||
|
||
</main>
|
||
|
||
<footer class="footer">
|
||
<small>
|
||
© <time datetime="2018-10-02T06:38:29+00:00">2018</time>. All rights reserved.
|
||
</small>
|
||
</footer>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|