Skip to content

Instantly share code, notes, and snippets.

@reddioment
Last active March 11, 2019 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reddioment/1d7bd1b68600df7a5648480bc4288d25 to your computer and use it in GitHub Desktop.
Save reddioment/1d7bd1b68600df7a5648480bc4288d25 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Podcast Title</title>
<link>http://localhost:4000</link>
<lastBuildDate>Mon, 11 Mar 2019 15:29:18 +0100</lastBuildDate>
<language>en-US</language>
<itunes:author>Kristof</itunes:author>
<itunes:subtitle>In this podcast I talk. I talk about things.</itunes:subtitle>
<itunes:summary>In this podcast I talk. I talk about things.</itunes:summary>
<description>In this podcast I talk. I talk about things.</description>
<itunes:explicit></itunes:explicit>
<itunes:owner>
<itunes:name>kocsis.kris@gmail.com</itunes:name>
<itunes:email>kocsis.kris@gmail.com</itunes:email>
</itunes:owner>
<itunes:category text="Tech"/>
<itunes:image href="http://localhost:4000/assets/artwork.jpg"/>
<item>
<title>Welcome to Jekyll!</title>
<pubDate>Thu, 07 Mar 2019 13:54:00 +0100</pubDate>
<link>http://localhost:4000/episodes/1</link>
<guid isPermaLink="true">http://localhost:4000/episodes/1</guid>
<description><![CDATA[&lt;p&gt;You’ll find this post in your &lt;code class=&quot;highlighter-rouge&quot;&gt;_posts&lt;/code&gt; 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 &lt;code class=&quot;highlighter-rouge&quot;&gt;jekyll serve&lt;/code&gt;, which launches a web server and auto-regenerates your site when a file is updated.&lt;/p&gt;
&lt;p&gt;To add new posts, simply add a file in the &lt;code class=&quot;highlighter-rouge&quot;&gt;_posts&lt;/code&gt; directory that follows the convention &lt;code class=&quot;highlighter-rouge&quot;&gt;YYYY-MM-DD-name-of-post.ext&lt;/code&gt; and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.&lt;/p&gt;
&lt;p&gt;Jekyll also offers powerful support for code snippets:&lt;/p&gt;
&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-ruby&quot; data-lang=&quot;ruby&quot;&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;print_hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Hi, &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;#{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;print_hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'Tom'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#=&amp;gt; prints 'Hi, Tom' to STDOUT.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;
&lt;p&gt;Check out the &lt;a href=&quot;https://jekyllrb.com/docs/home&quot;&gt;Jekyll docs&lt;/a&gt; for more info on how to get the most out of Jekyll. File all bugs/feature requests at &lt;a href=&quot;https://github.com/jekyll/jekyll&quot;&gt;Jekyll’s GitHub repo&lt;/a&gt;. If you have questions, you can ask them on &lt;a href=&quot;https://talk.jekyllrb.com/&quot;&gt;Jekyll Talk&lt;/a&gt;.&lt;/p&gt;
]]></description>
<itunes:author>Podcast Title</itunes:author>
<itunes:subtitle>The initial episode.</itunes:subtitle>
<itunes:explicit>no</itunes:explicit>
<itunes:duration>1173.0</itunes:duration>
<itunes:image href="http://localhost:4000/assets/small-artwork.jpg" />
<content:encoded><![CDATA[ ]]></content:encoded>
<enclosure url="http://localhost:4000/audio-files/1-welcome-to-cmdswift.mp3" length="1173" type="audio/mpeg"/>
</item>
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment