diff options
author | Huy-Ngo <duchuy29092000@gmail.com> | 2021-01-10 10:44:41 +0700 |
---|---|---|
committer | Huy-Ngo <duchuy29092000@gmail.com> | 2021-01-10 10:44:41 +0700 |
commit | cab20e02b1f537c005ebf875f511019406cbfc0d (patch) | |
tree | 1fa2b71600b6f4f5ba4ec76a74f58691e59a38ed /_site/jekyll/update | |
download | blog-cab20e02b1f537c005ebf875f511019406cbfc0d.tar.gz |
Initial commit for blog
Diffstat (limited to '_site/jekyll/update')
-rw-r--r-- | _site/jekyll/update/2021/01/10/welcome-to-jekyll.html | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/_site/jekyll/update/2021/01/10/welcome-to-jekyll.html b/_site/jekyll/update/2021/01/10/welcome-to-jekyll.html new file mode 100644 index 0000000..faa495a --- /dev/null +++ b/_site/jekyll/update/2021/01/10/welcome-to-jekyll.html @@ -0,0 +1,99 @@ +<!DOCTYPE html> +<html lang="en"><head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.7.1 --> +<title>Welcome to Jekyll! | Your awesome</title> +<meta name="generator" content="Jekyll v4.2.0" /> +<meta property="og:title" content="Welcome to Jekyll!" /> +<meta property="og:locale" content="en_US" /> +<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 ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated." /> +<meta property="og: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 ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated." /> +<link rel="canonical" href="/jekyll/update/2021/01/10/welcome-to-jekyll.html" /> +<meta property="og:url" content="/jekyll/update/2021/01/10/welcome-to-jekyll.html" /> +<meta property="og:site_name" content="Your awesome" /> +<meta property="og:type" content="article" /> +<meta property="article:published_time" content="2021-01-10T10:38:27+07:00" /> +<meta name="twitter:card" content="summary" /> +<meta property="twitter:title" content="Welcome to Jekyll!" /> +<script type="application/ld+json"> +{"mainEntityOfPage":{"@type":"WebPage","@id":"/jekyll/update/2021/01/10/welcome-to-jekyll.html"},"description":"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 ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.","url":"/jekyll/update/2021/01/10/welcome-to-jekyll.html","@type":"BlogPosting","headline":"Welcome to Jekyll!","dateModified":"2021-01-10T10:38:27+07:00","datePublished":"2021-01-10T10:38:27+07:00","@context":"https://schema.org"}</script> +<!-- End Jekyll SEO tag --> +<link rel="stylesheet" href="/assets/main.css"><link type="application/atom+xml" rel="alternate" href="/feed.xml" title="Your awesome" /></head> +<body><header class="site-header" role="banner"> + + <div class="wrapper"><a class="site-title" rel="author" href="/">Your awesome</a><nav class="site-nav"> + <input type="checkbox" id="nav-trigger" class="nav-trigger" /> + <label for="nav-trigger"> + <span class="menu-icon"> + <svg viewBox="0 0 18 15" width="18px" height="15px"> + <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/> + </svg> + </span> + </label> + + <div class="trigger"><a class="page-link" href="/about/">About</a></div> + </nav></div> +</header> +<main class="page-content" aria-label="Content"> + <div class="wrapper"> + <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting"> + + <header class="post-header"> + <h1 class="post-title p-name" itemprop="name headline">Welcome to Jekyll!</h1> + <p class="post-meta"> + <time class="dt-published" datetime="2021-01-10T10:38:27+07:00" itemprop="datePublished">Jan 10, 2021 + </time></p> + </header> + + <div class="post-content e-content" itemprop="articleBody"> + <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>Jekyll requires blog post files to be named according to the following format:</p> + +<p><code class="language-plaintext highlighter-rouge">YEAR-MONTH-DAY-title.MARKUP</code></p> + +<p>Where <code class="language-plaintext highlighter-rouge">YEAR</code> is a four-digit number, <code class="language-plaintext highlighter-rouge">MONTH</code> and <code class="language-plaintext highlighter-rouge">DAY</code> are both two-digit numbers, and <code class="language-plaintext highlighter-rouge">MARKUP</code> is the file extension representing the format used in the file. After that, include 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="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> + + + </div><a class="u-url" href="/jekyll/update/2021/01/10/welcome-to-jekyll.html" hidden></a> +</article> + + </div> + </main><footer class="site-footer h-card"> + <data class="u-url" href="/"></data> + + <div class="wrapper"> + + <h2 class="footer-heading">Your awesome</h2> + + <div class="footer-col-wrapper"> + <div class="footer-col footer-col-1"> + <ul class="contact-list"> + <li class="p-name">Your awesome</li><li><a class="u-email" href="mailto:your-email@example.com">your-email@example.com</a></li></ul> + </div> + + <div class="footer-col footer-col-2"><ul class="social-media-list"><li><a href="https://github.com/jekyll"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">jekyll</span></a></li><li><a href="https://www.twitter.com/jekyllrb"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#twitter"></use></svg> <span class="username">jekyllrb</span></a></li></ul> +</div> + + <div class="footer-col footer-col-3"> + <p>Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.</p> + </div> + </div> + + </div> + +</footer> +</body> + +</html> |