foo.be/_site/jekyll/update/2015/12/01/welcome-to-jekyll.html

65 lines
3.5 KiB
HTML
Raw Normal View History

2015-12-03 01:59:10 +00:00
<!DOCTYPE html>
2015-12-04 00:12:42 +00:00
<html class="t-grey">
<head>
2015-12-03 01:59:10 +00:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Jekyll!</title>
<meta name="description" content="Youll 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 wa...">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,400italic,700|Roboto+Mono:400,500' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
2015-12-04 00:12:42 +00:00
<link rel="stylesheet" href="/material-jekyll-theme/css/main.css">
<link rel="canonical" href="http://alexcarpenter.me/material-jekyll-theme/jekyll/update/2015/12/01/welcome-to-jekyll.html">
<link rel="alternate" type="application/rss+xml" title="Alex Carpenter" href="http://alexcarpenter.me/material-jekyll-theme/feed.xml">
2015-12-03 01:59:10 +00:00
</head>
<body>
<nav class="c-navigation is-fixed">
<div class="c-navigation__container u-container">
2015-12-04 00:12:42 +00:00
<a class="c-navigation__item " href="/material-jekyll-theme/">Home</a>
<a class="c-navigation__item " href="/material-jekyll-theme/articles/">Articles</a>
<a class="c-navigation__item " href="/material-jekyll-theme/about/">About</a>
<a class="c-navigation__item " href="/material-jekyll-theme/contact/">Contact</a>
2015-12-03 01:59:10 +00:00
</div>
</nav>
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">Welcome to Jekyll!</h1>
<p class="post-meta"><time datetime="2015-12-01T18:52:21-05:00" itemprop="datePublished">Dec 1, 2015</time></p>
</header>
<div class="post-content" itemprop="articleBody">
<p>Youll 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="http://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">Jekylls GitHub repo</a>. If you have questions, you can ask them on <a href="https://talk.jekyllrb.com/">Jekyll Talk</a>.</p>
</div>
</article>
<footer class="c-footer">
<div class="u-container">
</div>
</footer>
</body>
</html>