-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (24 loc) · 722 Bytes
/
Copy pathindex.html
File metadata and controls
25 lines (24 loc) · 722 Bytes
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
---
layout: default
---
<main style="padding: 1em;">
<h1>Hello World</h1>
<p>This is a website that has multiple posts in a blog type format.</p>
<p>Edit or add posts in the _posts/ directory</p>
<p>Add a new page by creating a directory with the name i.e to make the url http://localhost:3000/about/ just create a directory called about and put a new index.html file in there.</p>
</main>
<footer style="padding: 1em;">
{% if site.posts %}
<h2>A list of all the posts</h2>
<ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}" title="{{post.title}}">
{{ post.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
<small>Copyright 2015</small>
</footer>