Skip to content

Commit 37a924a

Browse files
committed
Add footer
1 parent e337458 commit 37a924a

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

footer.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
% This defines the footer of the site, and is not parsed as a regular "page"
2+
% We point to it with the following in `myst.yml`:
3+
% site:
4+
% parts:
5+
% footer: footer.md
6+
7+
% Here we use `grid` to add a basic grid structure to the HTML,
8+
% but the formatting column sizes are defined manually in css/footer.css
9+
% see the `grid-template-columns` line.
10+
:::::{grid} 3 3 5 5
11+
:class: outer-grid col-screen
12+
13+
<!-- Project description -->
14+
15+
::::{div}
16+
17+
# Landing Pages
18+
19+
```{image} https://jupyterbook.org/en/stable/_images/logo-square.svg
20+
:width: 50px
21+
:align: left
22+
```
23+
24+
This is a description of our project. And a [link to its homepage](https://github.com/jupyter-book/example-landing-pages).
25+
::::
26+
27+
<!-- Spacer between project description and links columns -->
28+
29+
::::{div}
30+
::::
31+
32+
<!-- Link columns -->
33+
34+
% This a _second_ grid embedded within the first one, to create nicer
35+
% responsive design experience. This grid will have a single column on narrow screens,
36+
% and fan out into three columns on wide screens. However, it always remains within
37+
% its parent grid column.
38+
::::{grid} 1 1 3 3
39+
40+
:::{div}
41+
42+
- [About](https://mystmd.org/overview/ecosystem)
43+
- [Guide](https://mystmd.org/guide)
44+
- [Sandbox](https://mystmd.org/sandbox)
45+
:::
46+
47+
:::{div}
48+
49+
- A second column!
50+
- With multiple entries
51+
:::
52+
53+
:::{div}
54+
55+
- And what about a third
56+
:::
57+
58+
::::
59+
60+
:::::

myst.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ site:
1919
favicon: images/favicon.ico
2020
logo: images/statistical-python-logo.svg
2121
logo_text: Statistical Python
22+
parts:
23+
footer: footer.md

0 commit comments

Comments
 (0)