mirror of
https://github.com/adulau/foo.be.git
synced 2024-11-22 09:47:06 +00:00
64 lines
3.4 KiB
HTML
64 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head class="t-purple">
|
||
<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="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 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">
|
||
<link rel="stylesheet" href="/css/main.css">
|
||
<link rel="canonical" href="http://yourdomain.com/jekyll/update/2015/12/01/welcome-to-jekyll.html">
|
||
<link rel="alternate" type="application/rss+xml" title="Alex Carpenter" href="http://yourdomain.com/feed.xml">
|
||
</head>
|
||
|
||
<body>
|
||
<nav class="c-navigation is-fixed">
|
||
<div class="c-navigation__container u-container">
|
||
<a class="c-navigation__item " href="/">Home</a>
|
||
<a class="c-navigation__item " href="/articles/">Articles</a>
|
||
<a class="c-navigation__item " href="/about/">About</a>
|
||
<a class="c-navigation__item " href="/contact/">Contact</a>
|
||
</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>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">#=> 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">Jekyll’s 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>
|