aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-07-31 12:54:04 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-08-14 17:02:16 +0300
commit5d9520d6e16a3a200726f6896577594bb8a14e7d (patch)
tree7d558ced81c396b931ad8a3e372403b284092cb1
parent0e027d371a81fb846add968076ef5cf516ddf120 (diff)
downloadaaoth.xyz-5d9520d6e16a3a200726f6896577594bb8a14e7d.tar.gz
aaoth.xyz-5d9520d6e16a3a200726f6896577594bb8a14e7d.zip
convert temp page to jekyll
just move things a bit. add simple default layout and move stylesheet to assets folder.
-rw-r--r--_config.yml3
-rw-r--r--_layouts/default.html11
-rw-r--r--_sass/temp.scss21
-rw-r--r--assets/css/style.scss3
-rw-r--r--index.html40
5 files changed, 44 insertions, 34 deletions
diff --git a/_config.yml b/_config.yml
index f8f9c9c..67d6e2a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,3 +1,6 @@
+title: AAOTH
+
+# exclude non-site files
exclude:
- LICENSE
- README.md
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..092fc22
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>{{ site.title }}</title>
+ <link rel="stylesheet" href="assets/css/style.css">
+ </head>
+ <body>
+ {{ content }}
+ </body>
+</html>
diff --git a/_sass/temp.scss b/_sass/temp.scss
new file mode 100644
index 0000000..b215686
--- /dev/null
+++ b/_sass/temp.scss
@@ -0,0 +1,21 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+html {
+ font-family: sans-serif;
+ background: black;
+}
+body {
+ color: white;
+ margin-left: auto;
+ margin-right: auto;
+ width: auto;
+ max-width: 800px;
+}
+h1 {
+ border-bottom: 1px solid white;
+}
+p {
+ margin: 30px 0;
+}
diff --git a/assets/css/style.scss b/assets/css/style.scss
new file mode 100644
index 0000000..bd78703
--- /dev/null
+++ b/assets/css/style.scss
@@ -0,0 +1,3 @@
+---
+---
+@import "temp";
diff --git a/index.html b/index.html
index b6be0b7..bffe507 100644
--- a/index.html
+++ b/index.html
@@ -1,34 +1,6 @@
-<!doctype html>
-<html>
- <head>
- <meta charset="utf-8">
-<style>
-* {
- margin: 0;
- padding: 0;
-}
-html {
- font-family: sans-serif;
- background: black;
-}
-body {
- color: white;
- margin-left: auto;
- margin-right: auto;
- width: auto;
- max-width: 800px;
-}
-h1 {
- border-bottom: 1px solid white;
-}
-p {
- margin: 30px 0;
-}
-</style>
-<title>aaoth.xyz</title>
- </head>
- <body>
- <h1>Wait</h1>
- <p>There's nothing yet, but soon</p>
- </body>
-</html>
+---
+layout: default
+title: aaoth.xyz
+---
+<h1>Wait</h1>
+<p>There's nothing yet, but soon</p>