karnov.club/jekyll/update/2017/12/26/welcome-to-jekyll.html
Marc Cataford cc8e7a0656 Reboot.
2017-12-30 00:17:27 -05:00

99 lines
3.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<!DOCTYPE html>
<head>
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="http://localhost:4000/css/base.css" rel="stylesheet"/>
<title>Welcome to Jekyll!</title>
</head>
<body>
<body>
<header>
<img src="http://placehold.it/50x50"/>
<nav class="sections">
<ul>
<li>
<li><a href="#">Home</a></li><li><a href="#">Projects</a></li><li><a href="#">Blog</a></li><li><a href="#">Resumé</a></li>
</ul>
</nav>
<nav class="social">
<a href="https://www.github.com/mcataford">
<img src="http://localhost:4000/assets/git.svg"/>
</a>
<a href="https://www.linkedin.com/in/marccataford">
<img src="http://localhost:4000/assets/linkedin.svg"/>
</a>
<a href="https://www.twitter.com/marccataford">
<img src="http://localhost:4000/assets/twitter.svg"/>
</a>
</nav>
</header>
<main class="page-content" aria-label="Content">
<div class="wrapper">
<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="2017-12-26T16:21:30-05:00" itemprop="datePublished">
Dec 26, 2017
</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>
</div>
</main>
<footer>
</footer>
</body>
</html>
</body>
</html>