initial commit
This commit is contained in:
commit
ae116b3be1
|
@ -0,0 +1,21 @@
|
||||||
|
SRC_MD_FILES != find src -name '*.md'
|
||||||
|
DST_HTML_FILES := $(SRC_MD_FILES:src/%.md=%.html)
|
||||||
|
|
||||||
|
MARKDOWN != command -v markdown 2> /dev/null
|
||||||
|
|
||||||
|
all: dep-markdown $(DST_HTML_FILES)
|
||||||
|
|
||||||
|
%.html: src/%.md
|
||||||
|
$(info building $@)
|
||||||
|
@cat inc/header.html > $@
|
||||||
|
@$(MARKDOWN) $< >> $@
|
||||||
|
@cat inc/footer.html >> $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(info removing generated files)
|
||||||
|
-rm *.html
|
||||||
|
|
||||||
|
dep-markdown::
|
||||||
|
ifndef MARKDOWN
|
||||||
|
$(error missing dependency 'markdown'. please install and try again)
|
||||||
|
endif
|
|
@ -0,0 +1,29 @@
|
||||||
|
:root {
|
||||||
|
/* --nc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
|
||||||
|
--nc-font-sans: Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;
|
||||||
|
--nc-font-mono: Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;
|
||||||
|
|
||||||
|
/* Light theme */
|
||||||
|
--nc-tx-1: #ffffff;
|
||||||
|
--nc-tx-2: #eeeeee;
|
||||||
|
--nc-bg-1: #1d2021;
|
||||||
|
--nc-bg-2: #282828;
|
||||||
|
--nc-bg-3: #32302f;
|
||||||
|
--nc-lk-1: #3291FF;
|
||||||
|
--nc-lk-2: #0070F3;
|
||||||
|
--nc-lk-tx: #FFFFFF;
|
||||||
|
--nc-ac-1: #7928CA;
|
||||||
|
--nc-ac-tx: #FFFFFF;
|
||||||
|
|
||||||
|
/* Dark theme */
|
||||||
|
--nc-d-tx-1: #ffffff;
|
||||||
|
--nc-d-tx-2: #eeeeee;
|
||||||
|
--nc-d-bg-1: #1d2021;
|
||||||
|
--nc-d-bg-2: #282828;
|
||||||
|
--nc-d-bg-3: #32302f;
|
||||||
|
--nc-d-lk-1: #3291FF;
|
||||||
|
--nc-d-lk-2: #0070F3;
|
||||||
|
--nc-d-lk-tx: #FFFFFF;
|
||||||
|
--nc-d-ac-1: #7928CA;
|
||||||
|
--nc-d-ac-tx: #FFFFFF;
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
</footer>
|
||||||
|
</html>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1/new.min.css">
|
||||||
|
<link rel="stylesheet" href="css/cafe.css">
|
||||||
|
<title>tilde.cafe</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div id="top">
|
||||||
|
<h1>~cafe</h1>
|
||||||
|
<p>Welcome to tilde.cafe!</p>
|
||||||
|
<nav>
|
||||||
|
<a href="/">Home</a>
|
||||||
|
<a href="/blog">Blog</a>
|
||||||
|
<a href="/about">About</a>
|
||||||
|
<a href="/contact">Contact</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<main>
|
|
@ -0,0 +1,11 @@
|
||||||
|
welcome to tilde.cafe, a shared system where you can explore linux in a friendly, community-driven environment.
|
||||||
|
host your own website, chat to other users, play a few games, enjoy!
|
||||||
|
|
||||||
|
i always wanted to create a public linux server, then i discovered [the tildeverse](https://tildeverse.org)
|
||||||
|
it didn't take long before i finally started my own server and here we are :)
|
||||||
|
|
||||||
|
i still have a fair bit of work to do, click my name below if you want to check out my todo list!
|
||||||
|
|
||||||
|
[~spider](/~spider/)
|
||||||
|
|
||||||
|
- [template](template.html)
|
|
@ -0,0 +1,22 @@
|
||||||
|
# heading
|
||||||
|
|
||||||
|
## subheading
|
||||||
|
|
||||||
|
### even deeper
|
||||||
|
|
||||||
|
- dot points
|
||||||
|
- like this
|
||||||
|
|
||||||
|
we can do *italics* **bold** and ~strikethrough~
|
||||||
|
|
||||||
|
here's a `bit of code`
|
||||||
|
|
||||||
|
and a whole
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"code": "block"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
horizontal rule
|
Loading…
Reference in New Issue