did all layout stuff, just need my posts now
parent
94da16f45e
commit
14218bbce5
|
@ -1,4 +1,4 @@
|
|||
url: "https://depsterr.com" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
url: "https://depsterr.com"
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
title: "depsterr.com" # the name of your site, e.g. ACME Corp.
|
||||
|
||||
|
@ -13,3 +13,8 @@ exclude:
|
|||
katex:
|
||||
rendering_options:
|
||||
throw_error: true
|
||||
|
||||
sass:
|
||||
sass_dir: assets/css
|
||||
|
||||
excerpt_separator: <!--more-->
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
- name: "depsterr.com"
|
||||
path: "/"
|
||||
home: true
|
||||
|
||||
- name: "about"
|
||||
path: "/about.html"
|
||||
home: false
|
||||
|
||||
- name: "blog"
|
||||
path: "/blog.html"
|
||||
home: false
|
||||
|
||||
- name: "feed"
|
||||
path: "/feed.xml"
|
||||
home: false
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
layout: nav
|
||||
---
|
||||
<div class="centercol">
|
||||
{{ content }}
|
||||
</div>
|
|
@ -6,7 +6,7 @@
|
|||
<title>{{ page.title }} - {{ site.title }}</title>
|
||||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="{{ '/lagda/Agda.css' | relative_url }}" />
|
||||
<link rel="stylesheet" href="{{ "/lagda/Agda.css" | relative_url }}" />
|
||||
</head>
|
||||
<body>
|
||||
{{ content }}
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
{% for nav in site.data.navs %}
|
||||
<li {% if nav.home %} class="sitetitle" {% endif %}>
|
||||
<a class="bigger" href="{{ nav.path }}">{{ nav.name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
<hr>
|
||||
</header>
|
||||
{{ content }}
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
layout: centered
|
||||
---
|
||||
<h1>{{ page.title }}</h1>
|
||||
<article>
|
||||
{{ content }}
|
||||
</article>
|
||||
<footer>
|
||||
<hr>
|
||||
<h3>Info</h3>
|
||||
<ul>
|
||||
<li>Published {{ page.date | date_to_long_string }}</li>
|
||||
<li>Last compiled {{ site.time | date_to_long_string }}</li>
|
||||
</ul>
|
||||
<footer>
|
|
@ -1,20 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
title: "test"
|
||||
---
|
||||
{% katexmm %}
|
||||
|
||||
Hi :)
|
||||
|
||||
$\sqrt{x + \frac{1}{2}}$
|
||||
|
||||
{% endkatexmm %}
|
||||
|
||||
```agda
|
||||
data ℕ : Set where
|
||||
zero : ℕ
|
||||
suc : ℕ → ℕ
|
||||
```
|
||||
|
||||
Is `Set` clickable? Yes it is.
|
||||
And the other keywords too!
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
layout: centered
|
||||
title: "about"
|
||||
---
|
||||
|
||||
# About
|
||||
|
||||
## Who am I?
|
||||
|
||||
I'm a first year at Chalmers University of Technology in Gothenburg. My interests include mathematics, programming languages, type systems and formal methods. Though I'm not necessarily particularly knowledgable in any of these fields. My dislikes include anything blockchain, machine learning, and bigots.
|
||||
|
||||
I currently mostly write Haskell, though I'd also consider myself proficient at C. I know a fair bit of Agda, Scheme, and ruby. I'm interested in learning Idris, Ocaml, and Coq.
|
||||
|
||||
## What have I made?
|
||||
|
||||
Here are some of my "complete" projects.
|
||||
|
||||
* [bc](https://githug.xyz/depsterr/bc) - A brainfuck compiler for x86_64-linux that collapses consecutive +- and <> operations into single instructions.
|
||||
* [mpdart](https://github.com/depsterr/mpdart) - A X application which displays the album art of the song/album currently played by mpd.
|
||||
* [viddl](http://viddl.depsterr.com) - A web interface to youtube-dl
|
||||
* [kino](http://githug.xyz/depsterr/kino) - A tui client for [yts.mx](https://yts.mx)
|
||||
|
||||
## What's this site for?
|
||||
|
||||
Whatever I feel like putting here! Programming? Sure. Math? Why not! Some opinion on music, film, or other media? Who knows!
|
||||
|
||||
## Contact Info
|
||||
|
||||
### Email
|
||||
|
||||
Personal email:
|
||||
|
||||
```c
|
||||
int main(int argc, char** argv) {
|
||||
do {
|
||||
putchar(*("gcc thiscode.c; ./a.out" + (char)(*++argv)) ^ *(
|
||||
"\x03\x06\x13\x53\x00\x0d\x1b\x01\x23\x1f\x16\x0a"
|
||||
"\x5a\x0c\x55\x4d\x4f\x46\x0d\x00\x0c\x1a\x19\x0a"
|
||||
+ (char)((*argv)++)));
|
||||
} while ((char)*(--argv + 1) % (3 << 3));
|
||||
}
|
||||
```
|
|
@ -0,0 +1,87 @@
|
|||
/* Solarized Dark
|
||||
|
||||
For use with Jekyll and Pygments
|
||||
|
||||
http://ethanschoonover.com/solarized
|
||||
|
||||
SOLARIZED HEX ROLE
|
||||
--------- -------- ------------------------------------------
|
||||
base03 #002b36 background
|
||||
base01 #586e75 comments / secondary content
|
||||
base1 #93a1a1 body text / default code / primary content
|
||||
orange #cb4b16 constants
|
||||
red #dc322f regex, special keywords
|
||||
blue #268bd2 reserved keywords
|
||||
cyan #2aa198 strings, numbers
|
||||
green #859900 operators, other keywords
|
||||
*/
|
||||
|
||||
.highlight { background-color: #002b36; color: #93a1a1 }
|
||||
.highlight .c { color: #586e75 } /* Comment */
|
||||
.highlight .err { color: #93a1a1 } /* Error */
|
||||
.highlight .g { color: #93a1a1 } /* Generic */
|
||||
.highlight .k { color: #859900 } /* Keyword */
|
||||
.highlight .l { color: #93a1a1 } /* Literal */
|
||||
.highlight .n { color: #93a1a1 } /* Name */
|
||||
.highlight .o { color: #859900 } /* Operator */
|
||||
.highlight .x { color: #cb4b16 } /* Other */
|
||||
.highlight .p { color: #93a1a1 } /* Punctuation */
|
||||
.highlight .cm { color: #586e75 } /* Comment.Multiline */
|
||||
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #586e75 } /* Comment.Single */
|
||||
.highlight .cs { color: #859900 } /* Comment.Special */
|
||||
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
||||
.highlight .ge { color: #93a1a1; font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #dc322f } /* Generic.Error */
|
||||
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
||||
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
||||
.highlight .go { color: #93a1a1 } /* Generic.Output */
|
||||
.highlight .gp { color: #93a1a1 } /* Generic.Prompt */
|
||||
.highlight .gs { color: #93a1a1; font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
||||
.highlight .gt { color: #93a1a1 } /* Generic.Traceback */
|
||||
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
||||
.highlight .kd { color: #268bd2 } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #268bd2 } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
||||
.highlight .ld { color: #93a1a1 } /* Literal.Date */
|
||||
.highlight .m { color: #2aa198 } /* Literal.Number */
|
||||
.highlight .s { color: #2aa198 } /* Literal.String */
|
||||
.highlight .na { color: #93a1a1 } /* Name.Attribute */
|
||||
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
||||
.highlight .nc { color: #268bd2 } /* Name.Class */
|
||||
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
||||
.highlight .nd { color: #268bd2 } /* Name.Decorator */
|
||||
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
||||
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
||||
.highlight .nf { color: #268bd2 } /* Name.Function */
|
||||
.highlight .nl { color: #93a1a1 } /* Name.Label */
|
||||
.highlight .nn { color: #93a1a1 } /* Name.Namespace */
|
||||
.highlight .nx { color: #93a1a1 } /* Name.Other */
|
||||
.highlight .py { color: #93a1a1 } /* Name.Property */
|
||||
.highlight .nt { color: #268bd2 } /* Name.Tag */
|
||||
.highlight .nv { color: #268bd2 } /* Name.Variable */
|
||||
.highlight .ow { color: #859900 } /* Operator.Word */
|
||||
.highlight .w { color: #93a1a1 } /* Text.Whitespace */
|
||||
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #586e75 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #93a1a1 } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
||||
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #93a1a1 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #268bd2 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #268bd2 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
|
|
@ -0,0 +1,87 @@
|
|||
/* Solarized Light
|
||||
|
||||
For use with Jekyll and Pygments
|
||||
|
||||
http://ethanschoonover.com/solarized
|
||||
|
||||
SOLARIZED HEX ROLE
|
||||
--------- -------- ------------------------------------------
|
||||
base01 #586e75 body text / default code / primary content
|
||||
base1 #93a1a1 comments / secondary content
|
||||
base3 #fdf6e3 background
|
||||
orange #cb4b16 constants
|
||||
red #dc322f regex, special keywords
|
||||
blue #268bd2 reserved keywords
|
||||
cyan #2aa198 strings, numbers
|
||||
green #859900 operators, other keywords
|
||||
*/
|
||||
|
||||
.highlight { background-color: #fdf6e3; color: #586e75 }
|
||||
.highlight .c { color: #93a1a1 } /* Comment */
|
||||
.highlight .err { color: #586e75 } /* Error */
|
||||
.highlight .g { color: #586e75 } /* Generic */
|
||||
.highlight .k { color: #859900 } /* Keyword */
|
||||
.highlight .l { color: #586e75 } /* Literal */
|
||||
.highlight .n { color: #586e75 } /* Name */
|
||||
.highlight .o { color: #859900 } /* Operator */
|
||||
.highlight .x { color: #cb4b16 } /* Other */
|
||||
.highlight .p { color: #586e75 } /* Punctuation */
|
||||
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
|
||||
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
|
||||
.highlight .cs { color: #859900 } /* Comment.Special */
|
||||
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
||||
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #dc322f } /* Generic.Error */
|
||||
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
||||
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
||||
.highlight .go { color: #586e75 } /* Generic.Output */
|
||||
.highlight .gp { color: #586e75 } /* Generic.Prompt */
|
||||
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
||||
.highlight .gt { color: #586e75 } /* Generic.Traceback */
|
||||
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
||||
.highlight .kd { color: #268bd2 } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #268bd2 } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
||||
.highlight .ld { color: #586e75 } /* Literal.Date */
|
||||
.highlight .m { color: #2aa198 } /* Literal.Number */
|
||||
.highlight .s { color: #2aa198 } /* Literal.String */
|
||||
.highlight .na { color: #586e75 } /* Name.Attribute */
|
||||
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
||||
.highlight .nc { color: #268bd2 } /* Name.Class */
|
||||
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
||||
.highlight .nd { color: #268bd2 } /* Name.Decorator */
|
||||
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
||||
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
||||
.highlight .nf { color: #268bd2 } /* Name.Function */
|
||||
.highlight .nl { color: #586e75 } /* Name.Label */
|
||||
.highlight .nn { color: #586e75 } /* Name.Namespace */
|
||||
.highlight .nx { color: #586e75 } /* Name.Other */
|
||||
.highlight .py { color: #586e75 } /* Name.Property */
|
||||
.highlight .nt { color: #268bd2 } /* Name.Tag */
|
||||
.highlight .nv { color: #268bd2 } /* Name.Variable */
|
||||
.highlight .ow { color: #859900 } /* Operator.Word */
|
||||
.highlight .w { color: #586e75 } /* Text.Whitespace */
|
||||
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
||||
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #268bd2 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #268bd2 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
|
|
@ -1,4 +1,130 @@
|
|||
---
|
||||
---
|
||||
|
||||
@import "main";
|
||||
// solarized theme
|
||||
$base03: #002b36;
|
||||
$base02: #073642;
|
||||
$base01: #586e75;
|
||||
$base00: #657b83;
|
||||
$base0: #839496;
|
||||
$base1: #93a1a1;
|
||||
$base2: #eee8d5;
|
||||
$base3: #fdf6e3;
|
||||
$yellow: #b58900;
|
||||
$orange: #cb4b16;
|
||||
$red: #dc322f;
|
||||
$magenta: #d33682;
|
||||
$violet: #6c71c4;
|
||||
$blue: #268bd2;
|
||||
$cyan: #2aa198;
|
||||
$green: #859900;
|
||||
|
||||
:root {
|
||||
--background: #{$base3};
|
||||
--background-alt: #{$base2};
|
||||
--comment: #{$base1};
|
||||
--text: #{$base00};
|
||||
--text-emph: #{$base01};
|
||||
@import "light_theme"
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #{$base03};
|
||||
--background-alt: #{$base02};
|
||||
--comment: #{$base01};
|
||||
--text: #{$base0};
|
||||
--text-emph: #{$base1};
|
||||
}
|
||||
@import "dark_theme"
|
||||
}
|
||||
|
||||
$background: var(--background);
|
||||
$background-alt: var(--background-alt);
|
||||
$comment: var(--comment);
|
||||
$text: var(--text);
|
||||
$text-emph: var(--text-emph);
|
||||
|
||||
body {
|
||||
background-color: $background;
|
||||
}
|
||||
|
||||
@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);
|
||||
|
||||
code, .Agda { font-family: 'Fira Code', monospace; }
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
code, .Agda { font-family: 'Fira Code VF', monospace; }
|
||||
}
|
||||
|
||||
code, .Agda {
|
||||
background-color: $background-alt;
|
||||
padding: 4px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
pre code {
|
||||
display: block;
|
||||
}
|
||||
|
||||
p, li {
|
||||
color: $text;
|
||||
}
|
||||
|
||||
.bigger {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.bit_bigger {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: $blue;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: $violet;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: $cyan;
|
||||
}
|
||||
|
||||
.sitetitle a, bold, em, h1, h2, h3, h4, h5, h6 {
|
||||
color: $text-emph;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
display: inline;
|
||||
margin-right: 1em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: $comment;
|
||||
}
|
||||
|
||||
hr {
|
||||
color: $comment;
|
||||
border: 0;
|
||||
border-bottom: 1px dashed;
|
||||
}
|
||||
|
||||
.centercol {
|
||||
width: 700px;
|
||||
max-width: 96vw;
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
layout: centered
|
||||
title: "blog"
|
||||
---
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<a class="bit_bigger" href="{{ post.url }}">{{ post.title }} - {{ post.date | date_to_long_string }}</a>
|
||||
<hr>
|
||||
<p>{{ post.excerpt }}</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
15
index.html
15
index.html
|
@ -1,12 +1,9 @@
|
|||
---
|
||||
layout: default
|
||||
layout: centered
|
||||
title: "home"
|
||||
---
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
{{ post.excerpt }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p class="bigger">
|
||||
{% katexmm %}
|
||||
A living $\bot$
|
||||
{% endkatexmm %}
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue