Made a first version of the site

This commit is contained in:
2018-03-23 15:31:31 +01:00
parent 019378adc7
commit 5fcd620c2a
47 changed files with 6056 additions and 0 deletions

81
_layouts/default.html Executable file
View File

@@ -0,0 +1,81 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="/assets/css/atom-one-light.css">
{% if page.title or page.title == 'me' %}
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css" href="/assets/css/002.css">
{% else %}
<title>{{ site.name }}</title>
<link rel="stylesheet" type="text/css" href="/assets/css/001.css">
{% endif %}
<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
<link rel="shortcut icon" href="/assets/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="/assets/img/favicon.ico" type="image/x-icon">
<script src="/assets/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div class="wrapper">
<div class="default_title">
<img src="/assets/img/mycomputer.png" />
{% if page.tag %}
<h1>{{ page.tag }}</h1>
{% else %}
<h1>{{ site.name }}</h1>
{% endif %}
</div>
{% include topbar.html %}
<div class="tag_list">
<ul id="tag-list">
<li><a href="/" ><img src="/assets/img/disk.png" />(C:)</a>
<ul>
{% assign tags = site.tags | sort %}
{% for tag in tags %}
<li><a href="/tag/{{ tag | first | slugify }}/" title="{{ tag[0] | replace:'-', ' ' }}"><img src="/assets/img/folder.ico" />{{ tag[0] | replace:'-', ' ' }}</a></li>
{% endfor %}
</ul>
</li>
</ul>
</div>
<div class="post_list">
<ul>
<li><a href="/about" title= "about"><img src="/assets/img/file.ico" title="about" /> About </a></li>
{% for post in site.posts %}
<li><a href="{{ post.url }}" title="{{ post.title }}"><img src="/assets/img/file.ico" title="{{ post.title }}" />{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
<div class="post_total">
{% if page.tag %}
<div class="left">{{ site.tags[page.tag] | size }} object(s)</div>
{% else %}
<div class="left">{{ site.posts | size }} object(s)</div>
{% endif %}
<div class="right">&nbsp;</div>
</div>
</div>
{% if page.title %}
<div class="content">
<div class="post_title">
<img src="/assets/img/file.png" />
<h1>{{ page.title }}</h1>
<a href="/"><div class="btn"><span class="fa fa-times"></span></div></a>
<div class="btn btn_max"><span class="fa fa-window-maximize"></span></div>
<div class="btn"><span class="fa fa-window-minimize"></span></div>
</div>
<div class="post_content">
{{ content }}
</div>
</div>
{% endif %}
<script src="/assets/js/001.js"></script>
<script src="/assets/js/002.js"></script>
<div class="footer">
<p>Based on <a href= "https://h01000110.github.io/20170917/windows-95" target="_blank">Windows 95</a> by <a href="http://github.com/h01000110" target="_blank">h01000110 (hi)</a> | Code licensed under <a href="https://github.com/h01000110/h01000110.github.io/blob/master/LICENSE" target="_blank">MIT License</a></p>
</div>
</body>
</html>

8
_layouts/tag.html Executable file
View File

@@ -0,0 +1,8 @@
---
layout: default
---
<ul>
{% for post in site.tags[page.tag] %}
<li><a href="{{ post.url }}" title="{{ post.title }}"><img src="/assets/img/file.ico" title="{{ post.title }}" />{{ post.title }}</a></li>
{% endfor %}
</ul>