-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.xml
More file actions
17 lines (11 loc) · 4.55 KB
/
Copy pathfeed.xml
File metadata and controls
17 lines (11 loc) · 4.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2020-09-23T15:23:56+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Saeed Salehi</title><subtitle>Home</subtitle><entry><title type="html">Starting with Jekyll!</title><link href="http://localhost:4000/blog/2020/09/19/welcome-to-jekyll.html" rel="alternate" type="text/html" title="Starting with Jekyll!" /><published>2020-09-19T18:46:43+02:00</published><updated>2020-09-19T18:46:43+02:00</updated><id>http://localhost:4000/blog/2020/09/19/welcome-to-jekyll</id><content type="html" xml:base="http://localhost:4000/blog/2020/09/19/welcome-to-jekyll.html"><p>The post below is created automatically when you start with Jekyll. But I would like to add a bit more to it before leaving it dust. I should thank the Tania for her great post on <a href="https://www.taniarascia.com/make-a-static-website-with-jekyll/">Jekyll Tutorial: How to Create a Static Website</a>. You can find more on blogging via Jekyll on KordingLab’s post about <a href="http://kordinglab.com/2016/02/05/how-to-add-blog.html">How to add blog post on Jekyll</a>.</p>
<p>Also, you can use this terminal command to see the default files used by Jekyll <code class="language-plaintext highlighter-rouge">bundle show minima</code> , which came very handy for modifying the styles. Just remember to copy the file you want to touch to the corresponding folder in project directory first, and edit the copied file only.</p>
<p>You’ll find this post in your <code class="language-plaintext 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="language-plaintext 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="language-plaintext highlighter-rouge">_posts</code> directory that follows the convention <code class="language-plaintext 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></name></author><summary type="html">The post below is created automatically when you start with Jekyll. But I would like to add a bit more to it before leaving it dust. I should thank the Tania for her great post on Jekyll Tutorial: How to Create a Static Website. You can find more on blogging via Jekyll on KordingLab’s post about How to add blog post on Jekyll.</summary></entry></feed>