forked from asciidoctor/jekyll-asciidoc-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
167 lines (138 loc) · 6.11 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
<!doctype html>
<!--[if IE 9]>
<html class="lt-ie10" lang="en"> <![endif]-->
<html class="no-js" lang="en" data-useragent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Jekyll-Asciidoc Quickstart</title>
<meta name="description"
content="Update what your Blog is about in this section"/>
<meta name="author" content="Your name goes here"/>
<meta name="copyright" content="Maybe consider a Creative Commons license"/>
<link rel="stylesheet" href="css/foundation.css"/>
<link rel="stylesheet" href="css/font-awesome.css"/>
<link rel="stylesheet" href="css/coderay.css"/>
<link rel="stylesheet" href="css/asciidoctor.css"/>
<script src="js/vendor/modernizr.js"></script>
<script src="js/toc.js"></script>
</head>
<body>
<!-- Nav Bar -->
<nav class="top-bar" data-topbar>
<ul class="title-area">
<!-- Title Area -->
<li class="name">
<h1>
<a href="">
Jekyll-Asciidoc Quickstart
</a>
</h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
</nav>
<!-- End Nav -->
<!-- Main Page Content and Sidebar -->
<div class="row">
<!-- Main Blog Content -->
<div class="large-9 columns" role="content">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p>You’ve successfully set up and deployed an Jekyll website powered by Asciidoc using the <a href="https://github.com/asciidoctor/jekyll-asciidoc-quickstart"><strong>Asciidoc-Jekyll-Quickstart</strong></a> project. If everything is in order then changes to the Asciidoc content will be automatically published to your <code>gh_pages</code> branch and hosted via Jekyll and Github.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="what_do_i_do_now">What do I do now?</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Now that you’ve set up your website to run with Asciidoc you have a ton of options available to you.</p>
</div>
<div class="sect3">
<h4 id="edit_content">Edit content</h4>
<div class="paragraph">
<p>Editing content is very simple. The easiest way to update your blog is to clone your repository, fire up your favorite text editor and run the content locally. To do this run the <code>jekyll serve</code> command and open a web browser to <a href="http://localhost:4000" class="bare">http://localhost:4000</a>. Jekyll will automatically process and host changes to the content.</p>
</div>
<div class="paragraph">
<p>You may also edit your content directly on Github. To do this, navigate the browser the file you wish to edit, click the pensil (edit) button in the upper right hand corner of the view and make your changes. When you’re finished, commit your changes. This will trigger Travis to generate and publish a new website including your changes.</p>
</div>
<div class="paragraph">
<p>For blog posts, Jekyll will recognize files under the <code>_post</code> directory, parse the name and place it in the list of posts. These will show up under the <code>site.posts</code> variable.</p>
</div>
<div class="paragraph">
<p>To display a list of posts, use Jekyll syntax similar to the following:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="html">{% for post in site.posts limit: 5 %}
<span class="tag"><a</span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">"</span><span class="content">.{{ post.url }}</span><span class="delimiter">"</span></span><span class="tag">></span>{{ post.shortTitle }}<span class="tag"></a></span>
{% endfor %}</code></pre>
</div>
</div>
</div>
<div class="sect3">
<h4 id="update_look_and_feel">Update Look and feel</h4>
<div class="paragraph">
<p>The layout provided with the <a href="https://github.com/asciidoctor/jekyll-asciidoc-quickstart">Jekyll-Asciidoc Quickstart</a> project is based on <a href="http://foundation.zurb.com">Foundation</a>, a responsive design css framework. You’re free to update the layout by editing the <code>_layouts/default.html</code> file and css under the <code>css</code> directory.</p>
</div>
<div class="paragraph">
<p>This blog layout is based on the <a href="http://foundation.zurb.com/templates/blog.html">Blog template</a>.</p>
</div>
</div>
<div class="sect3">
<h4 id="reference_documentation">Reference documentation</h4>
<div class="paragraph">
<p>The following links will help with detailed explanations on Jekyll and Asciidoc.</p>
</div>
<div class="paragraph">
<p><a href="http://jekyllrb.com">Jekyll</a><br>
<a href="http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/">Asciidoc Quick Reference</a><br>
<a href="http://asciidoctor.org">Asciidoctor</a></p>
</div>
</div>
</div>
</div>
</div>
<!-- End Main Content -->
<!-- Sidebar -->
<aside class="large-3 columns">
<h4>Posts</h4>
<ul id="posts" class="posts nav">
<li><a href="./2016/03/23/zsh.html">zsh & oh-my-zsh</a></li>
</ul>
<div class="panel">
<h5>Featured</h5>
<p>Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon
nulla pork belly cupidatat meatloaf cow.</p>
</div>
</aside>
<!-- End Sidebar -->
</div>
<!-- End Main Content and Sidebar -->
<!-- Footer -->
<footer class="row">
<div class="large-12 columns">
<hr/>
<div class="row">
<div class="large-12 columns">
<p>Footer</p>
</div>
</div>
</div>
</footer>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation/foundation.js"></script>
<script>
$(document).foundation();
var doc = document.documentElement;
doc.setAttribute('data-useragent', navigator.userAgent);
</script>
</body>
</html>