Skip to content

Commit 8fa3f29

Browse files
committed
layout fixes
1 parent e9bb37f commit 8fa3f29

File tree

7 files changed

+68
-52
lines changed

7 files changed

+68
-52
lines changed

_includes/footer.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
</main>
2+
3+
<footer class="site-footer h-card">
4+
<div class="wrapper">
5+
<div class="footer-col-wrapper">
6+
{% if site.github.is_project_page %}
7+
<a href="{{ site.github.repository_url }}">View on GitHub</a>
8+
{% endif %}
9+
<br>
10+
Made with <span class="heart"></span> by <a href="https://lucasbecker.de">Lucas Becker</a>
11+
<br>
12+
<span class="mirror-v">©</span> {{ 'now' | date: "%Y" }}
13+
</div>
14+
</div>
15+
</footer>
16+
17+
</body>
18+
</html>

_includes/header.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
9+
<meta name="google-site-verification" content="n8kLjQ63XEDTqJ-1CD32tz66WLphSNW-Ym1BKkk4Nd0" />
10+
{%- seo -%}
11+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
12+
<!-- Google Fonts -->
13+
<link href="https://fonts.googleapis.com/css?family=Chivo:400,400i,700&display=swap&subset=latin-ext"
14+
rel="stylesheet">
15+
<link href="https://fonts.googleapis.com/css?family=Space+Mono&display=swap&subset=latin-ext" rel="stylesheet">
16+
</head>
17+
18+
<body>
19+
20+
<!-- (%- include header.html -%) -->
21+
22+
<nav><a href="{{ site.baseurl }}">{{ site.prettyname }}</a></nav>
23+
<main class="page-content" aria-label="Content">

_layouts/default.html

Lines changed: 13 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,13 @@
1-
<!DOCTYPE html>
2-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
3-
4-
<head>
5-
<meta charset="utf-8">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7-
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
9-
<meta name="google-site-verification" content="n8kLjQ63XEDTqJ-1CD32tz66WLphSNW-Ym1BKkk4Nd0" />
10-
{%- seo -%}
11-
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
12-
<!-- Google Fonts -->
13-
<link href="https://fonts.googleapis.com/css?family=Chivo:400,400i,700&display=swap&subset=latin-ext" rel="stylesheet">
14-
<link href="https://fonts.googleapis.com/css?family=Space+Mono&display=swap&subset=latin-ext" rel="stylesheet">
15-
</head>
16-
17-
<body>
18-
19-
<!-- (%- include header.html -%) -->
20-
21-
<nav><a href="{{ site.baseurl }}">{{ site.prettyname }}</a></nav>
22-
<main class="page-content" aria-label="Content">
23-
<div class="wrapper">
24-
<!-- surely we want a ToC -->
25-
<!-- https://github.com/allejo/jekyll-toc -->
26-
{% include toc.html html=content h_min=2 h_max=2 class="toc" %}
27-
28-
<!-- instead of (( content )) [cant use curly brackets bc jekyll ignores that its in a comment] -->
29-
<!-- we use a liquid tag -->
30-
<!-- so we can enjoy js-free anchors in jekyll -->
31-
<!-- https://github.com/allejo/jekyll-anchor-headings -->
32-
{% include anchor_headings.html html=content anchorBody="#" beforeHeading=true %}
33-
</div>
34-
</main>
35-
36-
<footer class="site-footer h-card">
37-
<div class="wrapper">
38-
<div class="footer-col-wrapper">
39-
{% if site.github.is_project_page %}
40-
<a href="{{ site.github.repository_url }}">View on GitHub</a>
41-
{% endif %}
42-
<br>
43-
Made with <span class="heart"></span> by <a href="https://lucasbecker.de">Lucas Becker</a>
44-
<br>
45-
<span class="mirror-v">©</span> {{ 'now' | date: "%Y" }}
46-
</div>
47-
</div>
48-
</footer>
49-
50-
</body>
51-
52-
</html>
1+
{% include header.html %}
2+
<div class="wrapper">
3+
<!-- surely we want a ToC -->
4+
<!-- https://github.com/allejo/jekyll-toc -->
5+
{% include toc.html html=content h_min=2 h_max=2 class="toc" %}
6+
7+
<!-- instead of (( content )) [cant use curly brackets bc jekyll ignores that its in a comment] -->
8+
<!-- we use a liquid tag -->
9+
<!-- so we can enjoy js-free anchors in jekyll -->
10+
<!-- https://github.com/allejo/jekyll-anchor-headings -->
11+
{% include anchor_headings.html html=content anchorBody="#" beforeHeading=true %}
12+
</div>
13+
{% include footer.html %}

_layouts/single.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% include header.html %}
2+
<div class="wrapper">
3+
{% include anchor_headings.html html=content anchorBody="#" beforeHeading=true %}
4+
</div>
5+
{% include footer.html %}

gh1-iomodifier.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
layout: single
23
source: https://www.grasshopper3d.com/forum/topics/what-are-the-icons-on-a-component-s-input-output-parameter
34
---
45

model-practices.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: single
3+
---
4+
15
# Good model practices & techniques
26

37
Surfacing _is_ hard! So don't worry if the first result is not 100% there where you want it.

troubleshooting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: single
3+
---
4+
15
# Troubleshooting Guide
26

37
### Bloated Files

0 commit comments

Comments
 (0)