Skip to content

Instantly share code, notes, and snippets.

@giraffeb
Created August 10, 2016 06:14
Show Gist options
  • Save giraffeb/26ee33c344e107c1e2c7d96d559ea1db to your computer and use it in GitHub Desktop.
Save giraffeb/26ee33c344e107c1e2c7d96d559ea1db to your computer and use it in GitHub Desktop.
jekyll03-01-layout-sample
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>giraffeb's tech blog - {{ page.title }}</title>
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/css/syntax.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/main.css">
<!-- Responsive CSS -->
<link rel="stylesheet" href="/css/responsive.css">
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:300,400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="site">
<div class="sidebar" id="sidebar">
<div class="header">
<h1 class="title"><a href="/"><img id="logo" src="/images/logo.png"></a></h1>
<span class="tagline">안녕하세요. giraffeb의 기술 블로그입니다.</span>
</div>
<div class="posts">
<ul class="posts-list">
{% for post in site.posts %}
<li class="post-link">
<a class="post-title" href="{{ post.url }}">
<span class="post-date">{{ post.date | date_to_string }}</span>
{{ post.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
<div class="footer">
<span id="footer-links">
<a href="" class="footer-link">About</a> <span class="separator">&bull;</span>
<a href="" class="footer-link">Twitter</a> <span class="separator">&bull;</span>
<a href="" class="footer-link">GitHub</a>
</span>
</div>
</div>
{{ content }}
</div>
<script src="/scripts/responsive.js" type="text/javascript"></script>
{% include analytics.html %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment