tangled
alpha
login
or
join now
altagos.dev
/
website
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
move back button to new nav + fix figure width
altagos.dev
3 months ago
f6497205
15cac14e
verified
This commit was signed with the committer's
known signature
.
altagos.dev
SSH Key Fingerprint:
SHA256:UbTjEcCZlc6GzQWLCuDK3D//HESWD2xFPkzue9XMras=
1/1
build.yml
success
2min 57s
+91
-57
10 changed files
expand all
collapse all
unified
split
layouts
home.shtml
index.shtml
note.shtml
snippet.shtml
templates
root.shtml
style
content
figures.scss
footnotes.scss
navigation.scss
text.scss
index.scss
+4
-2
layouts/home.shtml
···
2
2
3
3
<title id="title" :text="$page.title.suffix(' | ', $site.title)"></title>
4
4
5
5
+
<nav id="nav"></nav>
6
6
+
5
7
<main id="main">
6
6
-
<h1 :text="$page.title"></h1>
7
7
-
<div :html="$page.content()"></div>
8
8
+
<h1 :text="$page.title"></h1>
9
9
+
<div :html="$page.content()"></div>
8
10
</main>
+2
layouts/index.shtml
···
2
2
3
3
<title id="title" :text="$page.title.suffix(' | ', $site.title)"></title>
4
4
5
5
+
<nav id="nav"></nav>
6
6
+
5
7
<main id="main">
6
8
<h1 :text="$page.title"></h1>
7
9
<div :html="$page.content()"></div>
+23
-21
layouts/note.shtml
···
2
2
3
3
<title id="title" :text="$page.title.suffix(' | ', $site.title)"></title>
4
4
5
5
+
<nav id="nav"></nav>
6
6
+
5
7
<main id="main">
6
6
-
<h1 :text="$page.title"></h1>
7
7
-
<h5>
8
8
-
Created on:
9
9
-
<span :text="$page.date.format('2006-01-02')">
10
10
-
</span>
11
11
-
</h5>
12
12
-
<div :html="$page.content()"></div>
13
13
-
<ctx :if="$page.footnotes?()">
14
14
-
<div class="footnotes">
15
15
-
<ol :loop="$if">
16
16
-
<li id="$loop.it.def_id">
17
17
-
<div class="footnote"><ctx :html="$loop.it.html()"></ctx></div>
18
18
-
<ctx :loop="$loop.it.ref_ids">
19
19
-
<div class="back">
20
20
-
<a href="$loop.it.prefix('#')"><i class="ph-bold ph-arrow-up"></i>Back</a>
21
21
-
</div>
22
22
-
</ctx>
23
23
-
</li>
24
24
-
</ol>
25
25
-
</div>
26
26
-
</ctx>
8
8
+
<h1 :text="$page.title"></h1>
9
9
+
<h5>
10
10
+
Created on:
11
11
+
<span :text="$page.date.format('2006-01-02')">
12
12
+
</span>
13
13
+
</h5>
14
14
+
<div :html="$page.content()"></div>
15
15
+
<ctx :if="$page.footnotes?()">
16
16
+
<div class="footnotes">
17
17
+
<ol :loop="$if">
18
18
+
<li id="$loop.it.def_id">
19
19
+
<div class="footnote"><ctx :html="$loop.it.html()"></ctx></div>
20
20
+
<ctx :loop="$loop.it.ref_ids">
21
21
+
<div class="back">
22
22
+
<a href="$loop.it.prefix('#')"><i class="ph-bold ph-arrow-up"></i>Back</a>
23
23
+
</div>
24
24
+
</ctx>
25
25
+
</li>
26
26
+
</ol>
27
27
+
</div>
28
28
+
</ctx>
27
29
</main>
+27
-22
layouts/snippet.shtml
···
2
2
3
3
<title id="title" :text="$page.title.suffix(' | ', $site.title)"></title>
4
4
5
5
+
<nav id="nav">
6
6
+
<a href="/snippets" class="back"><i class="ph-bold ph-arrow-left"></i>Back</a>
7
7
+
</nav>
8
8
+
5
9
<main id="main">
6
6
-
<a href="/snippets" class="back"><i class="ph-bold ph-arrow-left"></i>Back</a>
10
10
+
<div class="snippets">
7
11
8
8
-
<h1 :text="$page.title"></h1>
9
9
-
<h5>
10
10
-
Created on:
11
11
-
<span :text="$page.date.format('2006-01-02')">
12
12
-
</span>
13
13
-
</h5>
14
14
-
<div :html="$page.content()"></div>
15
15
-
<ctx :if="$page.footnotes?()">
16
16
-
<div class="footnotes">
17
17
-
<ol :loop="$if">
18
18
-
<li id="$loop.it.def_id">
19
19
-
<div class="footnote"><ctx :html="$loop.it.html()"></ctx></div>
20
20
-
<ctx :loop="$loop.it.ref_ids">
21
21
-
<div class="back">
22
22
-
<a href="$loop.it.prefix('#')"><i class="ph-bold ph-arrow-up"></i>Back</a>
23
23
-
</div>
24
24
-
</ctx>
25
25
-
</li>
26
26
-
</ol>
27
27
-
</div>
28
28
-
</ctx>
12
12
+
<h1 :text="$page.title"></h1>
13
13
+
<h5>
14
14
+
Created on:
15
15
+
<span :text="$page.date.format('2006-01-02')">
16
16
+
</span>
17
17
+
</h5>
18
18
+
<div :html="$page.content()"></div>
19
19
+
<ctx :if="$page.footnotes?()">
20
20
+
<div class="footnotes">
21
21
+
<ol :loop="$if">
22
22
+
<li id="$loop.it.def_id">
23
23
+
<div class="footnote"><ctx :html="$loop.it.html()"></ctx></div>
24
24
+
<ctx :loop="$loop.it.ref_ids">
25
25
+
<div class="back">
26
26
+
<a href="$loop.it.prefix('#')"><i class="ph-bold ph-arrow-up"></i>Back</a>
27
27
+
</div>
28
28
+
</ctx>
29
29
+
</li>
30
30
+
</ol>
31
31
+
</div>
32
32
+
</ctx>
33
33
+
</div>
29
34
</main>
+1
layouts/templates/root.shtml
···
19
19
</head>
20
20
<body>
21
21
<header></header>
22
22
+
<nav id="nav"><super></nav>
22
23
<content>
23
24
<main id="main">
24
25
<super>
+8
-5
style/content/figures.scss
···
1
1
figure {
2
2
-
width: var(--content-max-width);
2
2
+
max-width: var(--content-max-width);
3
3
overflow-y: auto;
4
4
text-align: center;
5
5
margin: 1em 0;
6
6
7
7
-
img {
7
7
+
> * {
8
8
max-width: var(--content-max-width);
9
9
+
width: 90%;
9
10
height: auto;
11
11
+
}
12
12
+
13
13
+
img {
14
14
+
resize: "horizontal";
10
15
object-fit: scale-down;
11
11
-
color: var(--text-color);
12
16
}
13
17
14
18
svg {
15
19
overflow: hidden;
16
20
resize: "horizontal";
17
17
-
max-width: var(--content-max-width);
18
18
-
height: auto;
21
21
+
19
22
color: var(--text-color);
20
23
}
21
24
}
+10
-6
style/content/footnotes.scss
···
1
1
-
.back {
2
2
-
text-decoration: none;
1
1
+
.footnotes {
2
2
+
.back {
3
3
+
a {
4
4
+
text-decoration: none;
5
5
+
}
3
6
4
4
-
.ph-bold {
5
5
-
font-size: 32px;
6
6
-
position: relative;
7
7
-
top: 2px;
7
7
+
.ph-bold {
8
8
+
font-size: 32px;
9
9
+
position: relative;
10
10
+
top: 2px;
11
11
+
}
8
12
}
9
13
}
+13
style/content/navigation.scss
···
1
1
+
nav {
2
2
+
margin: 0.25em 1em -1em 1em;
3
3
+
4
4
+
.back {
5
5
+
text-decoration: none;
6
6
+
7
7
+
.ph-bold {
8
8
+
font-size: 32px;
9
9
+
position: relative;
10
10
+
top: 2px;
11
11
+
}
12
12
+
}
13
13
+
}
+2
-1
style/content/text.scss
···
1
1
-
content {
1
1
+
content,
2
2
+
nav {
2
3
font-family: "Andada Pro";
3
4
font-size: var(--font-size);
4
5
font-weight: var(--normal-weight);
+1
style/index.scss
···
14
14
@use "content/figures.scss";
15
15
@use "content/footnotes.scss";
16
16
@use "content/footer.scss";
17
17
+
@use "content/navigation.scss";
17
18
@use "content/table.scss";