Use jekyll for blogging
This commit is contained in:
parent
478bbf6116
commit
410f5f9430
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
_site/
|
11
_layouts/default.html
Normal file
11
_layouts/default.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>{{ page.title }}</title>
|
||||||
|
<link rel="stylesheet" href="/resources/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ content }}
|
||||||
|
</body>
|
||||||
|
</html>
|
8
_layouts/post.html
Normal file
8
_layouts/post.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>{{ page.title }} <a href="/"><-</a></h1>
|
||||||
|
<p class="tiny">{{ page.date | date_to_string }} - Shylie</p>
|
||||||
|
|
||||||
|
{{ content }}
|
9
_posts/2024-1-13-test-post-2.md
Normal file
9
_posts/2024-1-13-test-post-2.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
layout: post
|
||||||
|
---
|
||||||
|
|
||||||
|
This is a test post but 2.
|
||||||
|
|
||||||
|
# here is a heading
|
||||||
|
|
||||||
|
Here is a link: [wow]()...
|
9
_posts/2024-1-13-test-post.md
Normal file
9
_posts/2024-1-13-test-post.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
layout: post
|
||||||
|
---
|
||||||
|
|
||||||
|
This is a test post.
|
||||||
|
|
||||||
|
# here is a heading
|
||||||
|
|
||||||
|
Here is a link: [wow]()...
|
31
index.html
31
index.html
@ -1,17 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
---
|
||||||
<html>
|
layout: default
|
||||||
<head>
|
title: Posts
|
||||||
<title>shylie.info</title>
|
---
|
||||||
<link rel="stylesheet" href="resources/style.css">
|
|
||||||
</head>
|
<h1>Latest Posts</h1>
|
||||||
<body>
|
|
||||||
<div>
|
<ul>
|
||||||
<h1>Header Text...</h1>
|
{% for post in site.posts %}
|
||||||
<h2>Header 2 Text...</h2>
|
<li>
|
||||||
<p>Lorem ipsum nec feugiat proin dictumst felis odio, netus sollicitudin tempus facilisis faucibus amet, netus venenatis mollis ultrices quisque arcu. Fames molestie purus nibh malesuada in etiam, bibendum auctor mollis donec volutpat felis purus, tellus litora vehicula nullam praesent. Curabitur quisque gravida tincidunt a commodo auctor fames hac massa vel eleifend quisque torquent, aliquam orci arcu aenean hac pellentesque sit amet integer ultricies quam.</p>
|
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||||
<p class="block">Eu ullamcorper hendrerit ad convallis sociosqu orci ipsum rhoncus egestas, vehicula litora per risus proin velit aenean amet duis, porttitor sagittis massa aptent nostra tellus mollis magna. Bibendum integer cursus etiam sollicitudin et consectetur ad tellus conubia netus, sodales sapien vehicula rhoncus dictumst egestas pellentesque sem. Magna et vel torquent commodo mauris eget a, molestie ornare taciti turpis litora urna felis, platea posuere donec imperdiet suscipit posuere.</p>
|
</li>
|
||||||
<p>Some more text and this time it's got a <a href="">link</a> and that's pretty cool.</p>
|
{% endfor %}
|
||||||
<p class="block">Even more text (in a block this time) and wow another <a href="">link</a> omg.</p>
|
</ul>
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -59,7 +59,7 @@ a {
|
|||||||
top: -5px;
|
top: -5px;
|
||||||
left: -2px;
|
left: -2px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 6px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,10 +67,14 @@ a {
|
|||||||
top: initial;
|
top: initial;
|
||||||
position: initial;
|
position: initial;
|
||||||
margin-left: initial;
|
margin-left: initial;
|
||||||
margin-right: 1px;
|
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 a {
|
||||||
|
top: -10px;
|
||||||
|
margin-left: initial;
|
||||||
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
background: #FF8;
|
background: #FF8;
|
||||||
color: #900;
|
color: #900;
|
||||||
|
17
test.html
Normal file
17
test.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>shylie.info</title>
|
||||||
|
<link rel="stylesheet" href="resources/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<h1>Header Text...</h1>
|
||||||
|
<h2>Header 2 Text...</h2>
|
||||||
|
<p>Lorem ipsum nec feugiat proin dictumst felis odio, netus sollicitudin tempus facilisis faucibus amet, netus venenatis mollis ultrices quisque arcu. Fames molestie purus nibh malesuada in etiam, bibendum auctor mollis donec volutpat felis purus, tellus litora vehicula nullam praesent. Curabitur quisque gravida tincidunt a commodo auctor fames hac massa vel eleifend quisque torquent, aliquam orci arcu aenean hac pellentesque sit amet integer ultricies quam.</p>
|
||||||
|
<p class="block">Eu ullamcorper hendrerit ad convallis sociosqu orci ipsum rhoncus egestas, vehicula litora per risus proin velit aenean amet duis, porttitor sagittis massa aptent nostra tellus mollis magna. Bibendum integer cursus etiam sollicitudin et consectetur ad tellus conubia netus, sodales sapien vehicula rhoncus dictumst egestas pellentesque sem. Magna et vel torquent commodo mauris eget a, molestie ornare taciti turpis litora urna felis, platea posuere donec imperdiet suscipit posuere.</p>
|
||||||
|
<p>Some more text and this time it's got a <a href="">link</a> and that's pretty cool.</p>
|
||||||
|
<p class="block">Even more text (in a block this time) and wow another <a href="">link</a> omg.</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user