<meta property='og:url' content='{{ site.url }}'>
<title>{{ site.title }}</title>
- <link rel="icon" href="/favicon.ico" type="image/png">
+ <link rel="icon" href="/assets/favicon.ico" type="image/png">
<link href='/main.css' rel='stylesheet' type='text/css'>
<script src='/assets/index.js'></script>
</head>
--- /dev/null
+<link type='text/css' rel='stylesheet' href='/assets/syntax/styles/shCore.css'>
+<link type='text/css' rel='stylesheet' href='/assets/syntax/styles/shThemeDefault.css'>
+<script type='text/javascript' src='/assets/syntax/scripts/shCore.js'></script>
+<script type='text/javascript' src='/assets/syntax/scripts/shAutoloader.js'></script>
+<script type='text/javascript'>
+ function highlight() {
+ SyntaxHighlighter.autoloader(
+ 'js /assets/syntax/scripts/shBrushJScript.js',
+ 'bash /assets/syntax/scripts/shBrushBash.js',
+ 'sql /assets/syntax/scripts/shBrushSql.js',
+ 'cpp /assets/syntax/scripts/shBrushCpp.js');
+ SyntaxHighlighter.defaults['gutter'] = false;
+ SyntaxHighlighter.defaults['toolbar'] = false;
+ SyntaxHighlighter.all();
+ }
+</script>
+
--- /dev/null
+<article class="note">
+ <div class="note-content">
+ <div class="page-title">
+ {% if page.date %}
+ <span class='page-date'>
+ {{ page.date | date: '%Y-%m-%d' }}
+ </span> /
+ {% endif %}
+ <span class='page-title'>
+ <a href="{{ page.url }}">
+ {{ page.title }}
+ </a>
+ </span>
+ </div>
+ <div class='page-content'>
+ {{ content }}
+ </div>
+ </div>
+</article>
--- /dev/null
+---
+layout: default
+---
+
+{% include highlighter.html %}
+
+<ul class="posts">
+ {% for page in page.posts %}
+ <article class="note">
+ <div class="note-content">
+ <div class="page-title">
+ <span class='page-date'>
+ {{ page.date | date: '%Y-%m-%d' }}
+ </span> /
+ <span class='page-title'>
+ <a href="{{ page.url }}">
+ {{ page.title }}
+ </a>
+ </span>
+ </div>
+ {{ page.content }}
+ </div>
+ </article>
+ {% endfor %}
+</ul>
layout: default
---
-<article class="note">
- <div class="note-content">
- <div class="page-title">
- {% if page.date %}
- <span class='page-date'>
- {{ page.date | date: '%Y-%m-%d' }}
- </span> /
- {% endif %}
- <span class='page-title'>
- <a href="{{ page.url }}">
- {{ page.title }}
- </a>
- </span>
- </div>
- <div class='page-content'>
- {{ content }}
- </div>
- </div>
-</article>
+{% include highlighter.html %}
+
+{% include note.html %}
layout: note
---
-<link type='text/css' rel='stylesheet' href='/assets/syntax/styles/shCore.css'>
-<link type='text/css' rel='stylesheet' href='/assets/syntax/styles/shThemeDefault.css'>
-<script type='text/javascript' src='/assets/syntax/scripts/shCore.js'></script>
-<script type='text/javascript' src='/assets/syntax/scripts/shAutoloader.js'></script>
-<script type='text/javascript'>
- function highlight() {
- SyntaxHighlighter.autoloader(
- 'js /assets/syntax/scripts/shBrushJScript.js',
- 'bash /assets/syntax/scripts/shBrushBash.js',
- 'sql /assets/syntax/scripts/shBrushSql.js',
- 'cpp /assets/syntax/scripts/shBrushCpp.js');
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
- }
-</script>
-
{% for page in paginator.posts %}
<article class="note">
<div class="note-content">
previous
</a>
{% endif %}
+
{% if paginator.next_page_path %}
<div class="pagination">
<a href="{{ paginator.next_page_path }}">