nindwen.blue

my home page
git clone https://git.nindwen.blue/nindwen.blue.git
Log | Files | Refs | README

commit 5bd4ff77f2f49f73fcc4ce506a520e2c9e7a935f
Author: Nindwen <nindweniel@gmail.com>
Date:   Sat, 20 Feb 2016 01:25:03 +0200

starting out

Diffstat:
.gitignore | 2++
foot.html | 3+++
head.html | 11+++++++++++
index.md | 5+++++
sass/main.scss | 2++
slurp.sh | 24++++++++++++++++++++++++
6 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,2 @@ +output +.sass-cache/ diff --git a/foot.html b/foot.html @@ -0,0 +1,3 @@ + <nav></nav> + </body> +</html> diff --git a/head.html b/head.html @@ -0,0 +1,11 @@ +<!doctype html> +<html> + <head> + <title>Laura Ketola</title> + <link href="css/main.css" rel="stylesheet" /> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="author" content="Laura Ketola"> + <meta name="description" content="Contact, portfolio, blog"> + </head> + <body> diff --git a/index.md b/index.md @@ -0,0 +1,5 @@ +Helei! +====== + +* Olen minä + diff --git a/sass/main.scss b/sass/main.scss @@ -0,0 +1,2 @@ +body { +} diff --git a/slurp.sh b/slurp.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +watch() { + sass --style compressed --watch sass/:output/css +} + +page() { + markdown $1.md | cat head.html - foot.html | tidy -i -utf8 > output/$1.html +} + +help() { + echo "apuva!" +} + +push() { + rsync -a output/ usvs:www/nindwen.blue +} + +if [ -z "$1" ]; then + echo usage: $0 [sass, watch] + exit +fi + +eval ${@}