15 lines
4.3 KiB
XML
15 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-02-23T03:24:35+01:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">TDN: Rambling mess of my mind</title><subtitle>Random Spews</subtitle><author><name>Robert McGovern</name></author><entry><title type="html">First Post</title><link href="http://0.0.0.0:4000/first-post/" rel="alternate" type="text/html" title="First Post" /><published>2019-02-22T00:54:00+01:00</published><updated>2019-02-22T00:54:00+01:00</updated><id>http://0.0.0.0:4000/first-post</id><content type="html" xml:base="http://0.0.0.0:4000/first-post/"><p>Just a test post. This is the first, of a new blog that is powered by <strong>Jekyll</strong></p>
|
||
|
||
<h1>hello world!</h1></content><author><name>Robert McGovern</name></author><summary type="html">Just a test post. This is the first, of a new blog that is powered by Jekyll</summary></entry><entry><title type="html">Welcome to Jekyll!</title><link href="http://0.0.0.0:4000/jekyll/update/welcome-to-jekyll/" rel="alternate" type="text/html" title="Welcome to Jekyll!" /><published>2019-02-19T23:16:05+01:00</published><updated>2019-02-19T23:16:05+01:00</updated><id>http://0.0.0.0:4000/jekyll/update/welcome-to-jekyll</id><content type="html" xml:base="http://0.0.0.0:4000/jekyll/update/welcome-to-jekyll/"><p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">jekyll serve</code>, which launches a web server and auto-regenerates your site when a file is updated.</p>
|
||
|
||
<p>To add new posts, simply add a file in the <code class="highlighter-rouge">_posts</code> directory that follows the convention <code class="highlighter-rouge">YYYY-MM-DD-name-of-post.ext</code> and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p>
|
||
|
||
<p>Jekyll also offers powerful support for code snippets:</p>
|
||
|
||
<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
|
||
<span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span>
|
||
<span class="k">end</span>
|
||
<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span>
|
||
<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span></code></pre></figure>
|
||
|
||
<p>Check out the <a href="https://jekyllrb.com/docs/home">Jekyll docs</a> for more info on how to get the most out of Jekyll. File all bugs/feature requests at <a href="https://github.com/jekyll/jekyll">Jekyll’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p></content><author><name>Robert McGovern</name><email>rob@tarasis.net</email></author><category term="test" /><category term="blargh" /><summary type="html">You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.</summary></entry></feed> |