-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (196 loc) · 9.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Kais Still Alive Still Alive (V2)</title>
<meta property="og:title" content="Kais Still Alive Still Alive (V2)" />
<meta name="twitter:title" content="Kais Still Alive Still Alive (V2)" />
<meta name="author" content="Kai"/>
<meta property="og:site_name" content="Kais Still Alive Still Alive (V2)" />
<meta property="og:url" content="/" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta name="generator" content="Hugo 0.32.4" />
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="Kais Still Alive Still Alive (V2)" />
<link href="/index.xml" rel="feed" type="application/rss+xml" title="Kais Still Alive Still Alive (V2)" />
<link rel="stylesheet" href="/css/style.css" media="all" />
<link rel="stylesheet" href="/css/syntax.css" media="all" />
<link rel="stylesheet" href="/css/custom.css" media="all" />
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.10/js/all.js" integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous"></script>
</head>
<body>
<header class="site-header">
<nav class="site-navi">
<h1 class="site-title"><a href="/">Kais Still Alive Still Alive (V2)</a></h1>
<ul class="site-navi-items">
<li class="site-navi-item-categories"><a href="/categories/" title="Categories">Categories</a></li>
<li class="site-navi-item-tags"><a href="/tags/" title="Tags">Tags</a></li>
<li class="site-navi-item-archives"><a href="/archives/" title="Archives">Archives</a></li>
<li class="site-navi-item-about"><a href="/about/" title="About">About</a></li>
</ul>
</nav>
</header>
<hr class="site-header-bottom">
<div class="main" role="main">
<section class="list home-list">
<article class="article">
<a href="/post/creating-a-new-theme/" class="article-titles">
<h2 class="article-title">Creating a New Theme</h2>
</a>
<ul class="article-meta">
<li class="article-meta-date"><time>September 28, 2014</time></li>
</ul>
<div class="article-content">
Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.
We’ll start with creating a new site with a very basic template.
</div>
<div class="article-readmore"><a href="/post/creating-a-new-theme/">Read more...</a></div>
<div class="article-floatclear"></div>
</article>
<article class="article">
<a href="/post/migrate-from-jekyll/" class="article-titles">
<h2 class="article-title">Migrate to Hugo from Jekyll</h2>
</a>
<ul class="article-meta">
<li class="article-meta-date"><time>March 10, 2014</time></li>
</ul>
<div class="article-content">
Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like
▾ <root>/ ▾ images/ logo.png should become
▾ <root>/ ▾ static/ ▾ images/ logo.png Additionally, you’ll want any files that should reside at the root (such as CNAME) to be moved to static.
</div>
<div class="article-readmore"><a href="/post/migrate-from-jekyll/">Read more...</a></div>
<div class="article-floatclear"></div>
</article>
<article class="article">
<a href="/post/goisforlovers/" class="article-titles">
<h2 class="article-title">(Hu)go Template Primer</h2>
</a>
<ul class="article-meta">
<li class="article-meta-date"><time>April 2, 2014</time></li>
<li class="article-meta-categories">
<a href="/categories/development/">
<i class="fas fa-folder"></i>
Development
</a>
</li>
<li class="article-meta-categories">
<a href="/categories/golang/">
<i class="fas fa-folder"></i>
golang
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/go/">
<i class="fas fa-tag"></i>
go
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/golang/">
<i class="fas fa-tag"></i>
golang
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/templates/">
<i class="fas fa-tag"></i>
templates
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/themes/">
<i class="fas fa-tag"></i>
themes
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/development/">
<i class="fas fa-tag"></i>
development
</a>
</li>
</ul>
<div class="article-content">
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in go templates.
This document is a brief primer on using go templates.
</div>
<div class="article-readmore"><a href="/post/goisforlovers/">Read more...</a></div>
<div class="article-floatclear"></div>
</article>
<article class="article">
<a href="/post/hugoisforlovers/" class="article-titles">
<h2 class="article-title">Getting Started with Hugo</h2>
</a>
<ul class="article-meta">
<li class="article-meta-date"><time>April 2, 2014</time></li>
<li class="article-meta-categories">
<a href="/categories/development/">
<i class="fas fa-folder"></i>
Development
</a>
</li>
<li class="article-meta-categories">
<a href="/categories/golang/">
<i class="fas fa-folder"></i>
golang
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/go/">
<i class="fas fa-tag"></i>
go
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/golang/">
<i class="fas fa-tag"></i>
golang
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/hugo/">
<i class="fas fa-tag"></i>
hugo
</a>
</li>
<li class="article-meta-tags">
<a href="/tags/development/">
<i class="fas fa-tag"></i>
development
</a>
</li>
</ul>
<div class="article-content">
Step 1. Install Hugo Goto hugo releases and download the appropriate version for your os and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at installing hugo
Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now.
Follow the following steps:
Clone the hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands:
</div>
<div class="article-readmore"><a href="/post/hugoisforlovers/">Read more...</a></div>
<div class="article-floatclear"></div>
</article>
</section>
</div>
<div class="site-footer">
<div class="copyright">dirtbag united</div>
<ul class="site-footer-items">
<li class="site-footer-item-rsslink">
<a href="/index.xml" type="application/rss+xml" target="_blank" title="RSS">
<i class="fas fa-rss"></i>
</a>
</li>
<li class="site-footer-item-about"><a href="/about/" title="About">About</a></li>
</ul>
<div class="powerdby">
Powered by <a href="https://gohugo.io/">Hugo</a> and <a href="https://github.com/taikii/whiteplain">Whiteplain</a>
</div>
</div>
<script src="/js/script.js"></script>
<script src="/js/custom.js"></script>
</body>
</html>