welcome page
This commit is contained in:
parent
62f05ba9fb
commit
6f75065b9c
@ -1,5 +1,7 @@
|
||||
list:
|
||||
- title: ~/
|
||||
url: /
|
||||
- title: ~/blog
|
||||
url: /blog.html
|
||||
- title: ~/doc/about
|
||||
url: /about.html
|
||||
|
@ -17,7 +17,6 @@
|
||||
{% include nav.html %}
|
||||
<!-- page content -->
|
||||
<main class="post-list">
|
||||
<p class="title">{{page.title}}</p>
|
||||
{{content}}
|
||||
</main>
|
||||
|
||||
|
19
_layouts/page-welcome.html
Normal file
19
_layouts/page-welcome.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{% include head.html %}
|
||||
<body>
|
||||
<div class="screen">
|
||||
<div class="screen-image"></div>
|
||||
<div class="screen-content crt">
|
||||
<!-- page content -->
|
||||
<div class="welcome">
|
||||
{{content}}
|
||||
<!-- nav -->
|
||||
{% include nav.html %}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -179,7 +179,7 @@ http://aleclownes.com/2017/02/01/crt-display.html
|
||||
.crt::before {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: auto;
|
||||
left: auto;
|
||||
bottom: auto;
|
||||
|
@ -102,6 +102,17 @@ main {
|
||||
|
||||
}
|
||||
|
||||
.asciiart {
|
||||
white-space: pre;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.welcome{
|
||||
padding-top: 128px;
|
||||
font-size: large;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*
|
||||
.post-list a:before,
|
||||
.post-list a:before {
|
||||
|
@ -31,14 +31,6 @@ strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 3px;
|
||||
word-wrap: break-word;
|
||||
padding: 12px 13px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
@ -114,6 +106,15 @@ pre {
|
||||
border: 2px solid rgb(100, 50, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
pre {
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 3px;
|
||||
word-wrap: break-word;
|
||||
padding: 12px 13px;
|
||||
font-size: 13px;
|
||||
}*/
|
||||
|
||||
code {
|
||||
margin: 0 2px;
|
||||
padding: 3px 5px;
|
||||
|
8
blog.html
Normal file
8
blog.html
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: ~/blog
|
||||
layout: page-screen
|
||||
---
|
||||
|
||||
{% for post in site.posts %}
|
||||
{{post.date | date: '%Y-%m-%d' }} <a href="{{site.baseurl}}/{{post.url}}"> {{post.title | replace:' ','_'}}.txt</a>
|
||||
{%endfor%}
|
39
index.html
39
index.html
@ -1,8 +1,37 @@
|
||||
---
|
||||
title: ~/doc/blog
|
||||
layout: page-screen
|
||||
title: Welcome
|
||||
layout: page-welcome
|
||||
---
|
||||
<div class="asciiart">
|
||||
welcome to...
|
||||
|
||||
{% for post in site.posts %}
|
||||
{{post.date | date: '%Y-%m-%d' }} <a href="{{site.baseurl}}/{{post.url}}"> {{post.title | replace:' ','_'}}.txt</a>
|
||||
{%endfor%}
|
||||
███╗ ███╗███████╗██╗ ██╗
|
||||
████╗ ████║██╔════╝██║ ██║
|
||||
██╔████╔██║█████╗ ██║ █╗ ██║
|
||||
██║╚██╔╝██║██╔══╝ ██║███╗██║
|
||||
██║ ╚═╝ ██║███████╗╚███╔███╔╝
|
||||
╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝
|
||||
|
||||
__ ██████╗ ██████╗ ███████╗
|
||||
\ ██╔══██╗██╔═══██╗██╔════╝
|
||||
. ██║ ██║██║ ██║███████╗
|
||||
__ ██║ ██║██║ ██║╚════██║
|
||||
\ ██████╔╝╚██████╔╝███████║
|
||||
╚═════╝ ╚═════╝ ╚══════╝
|
||||
|
||||
</div>
|
||||
|
||||
<!--
|
||||
▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄▄ ▄▄ ▄▄
|
||||
███ ███ ██▀▀▀▀▀▀ ██ ██
|
||||
████████ ██ ▀█▄ ██ ▄█▀
|
||||
██ ██ ██ ███████ ██ ██ ██
|
||||
██ ▀▀ ██ ██ ▄▄▄███▀▀███▄▄▄▄ ▄▄▄▄
|
||||
██ ██ ██▄▄▄▄███▀▀██▄ ████ ██ ▄█▀▀▀▀█
|
||||
▀▀ ▀▀ ▀▀▀▀▀▀██▀ ▀██ ▀██ ██ ██▄
|
||||
██ ██ ██ ██ ▀████▄
|
||||
██ ██ ██ ██ ▀██
|
||||
██▄▄▄██ ██▄▄██ █▄▄▄▄▄█▀
|
||||
▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀
|
||||
|
||||
-->
|
Loading…
Reference in New Issue
Block a user