More iteration -- add a stub page
This commit is contained in:
Родитель
f64a8c297c
Коммит
1b4c2ce2ef
11
config.toml
11
config.toml
|
@ -1,14 +1,9 @@
|
||||||
# The URL the site will be built for
|
|
||||||
base_url = "https://worldwidetelescope.org"
|
base_url = "https://worldwidetelescope.org"
|
||||||
|
title = "AAS WorldWide Telescope"
|
||||||
# Whether to automatically compile all Sass files in the sass directory
|
description = "AAS WorldWide Telescope is a tool for showcasing astronomical data and knowledge."
|
||||||
|
default_language = "en"
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
|
|
||||||
# Whether to do syntax highlighting
|
|
||||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
|
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
|
||||||
build_search_index = false
|
build_search_index = false
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
+++
|
||||||
|
date = 2020-04-07
|
||||||
|
title = "About AAS WorldWide Telescope"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Here is some MarkDown content.
|
||||||
|
|
||||||
|
# First Major Heading
|
||||||
|
|
||||||
|
Let’s write some stuff.
|
||||||
|
|
||||||
|
## First Subheading
|
||||||
|
|
||||||
|
A little section here.
|
||||||
|
|
||||||
|
# Second Major Heading
|
||||||
|
|
||||||
|
And finally some more text here.
|
|
@ -8,13 +8,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: UniversLTPro-45Light;
|
font-family: "UniversLTPro";
|
||||||
src: url("/assets/39762C_0_0.eot?#iefix") format("embedded-opentype"), url("/assets/39762C_0_0.woff2") format("woff2"), url("/assets/39762C_0_0.woff") format("woff"), url("/assets/39762C_0_0.ttf") format("truetype");
|
src: url("/assets/39762C_0_0.eot?#iefix") format("embedded-opentype"), url("/assets/39762C_0_0.woff2") format("woff2"), url("/assets/39762C_0_0.woff") format("woff"), url("/assets/39762C_0_0.ttf") format("truetype");
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: UniversLTPro-65Bold;
|
font-family: "UniversLTPro";
|
||||||
src: url("/assets/39762C_2_0.eot?#iefix") format("embedded-opentype"), url("/assets/39762C_2_0.woff2") format("woff2"), url("/assets/39762C_2_0.woff") format("woff"), url("/assets/39762C_2_0.ttf") format("truetype");
|
src: url("/assets/39762C_2_0.eot?#iefix") format("embedded-opentype"), url("/assets/39762C_2_0.woff2") format("woff2"), url("/assets/39762C_2_0.woff") format("woff"), url("/assets/39762C_2_0.ttf") format("truetype");
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Breakpoints for responsive CSS media queries. For reference, Boostrap uses:
|
// Breakpoints for responsive CSS media queries. For reference, Boostrap uses:
|
||||||
|
@ -39,7 +43,7 @@ html {
|
||||||
// Default font sizes are too small, I think. At a standard 1em = 16px,
|
// Default font sizes are too small, I think. At a standard 1em = 16px,
|
||||||
// 1.375em becomes 22px.
|
// 1.375em becomes 22px.
|
||||||
font-size: 1.375em;
|
font-size: 1.375em;
|
||||||
font-family: "UniversLTPro-45Light";
|
font-family: "UniversLTPro";
|
||||||
|
|
||||||
// The viewport width changes slightly if there's a scrollbar or now,
|
// The viewport width changes slightly if there's a scrollbar or now,
|
||||||
// causing the layout to shift when navigating between long and short
|
// causing the layout to shift when navigating between long and short
|
||||||
|
@ -96,23 +100,38 @@ hr {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #e0e3f4;
|
color: #e0e3f4;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #fefefe;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
.page-title {
|
||||||
color: #fefefe;
|
font-size: 150%;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1;
|
||||||
|
margin: 0 0 1.2rem 0;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
// Keep this smaller than `.post-title`
|
// Keep this smaller than `.page-title`
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
|
margin: 1.2rem 0 1rem 0;
|
||||||
margin: 1em 0 0.3em 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
// Looks like we need to manually specify these font sizes to cascade down
|
// Looks like we need to manually specify these font sizes to cascade down
|
||||||
// relative to h1.
|
// relative to h1.
|
||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
|
margin: 1.2rem 0 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3, h4, h5, h6 {
|
h3, h4, h5, h6 {
|
||||||
|
@ -152,7 +171,7 @@ figcaption {
|
||||||
|
|
||||||
.maxwidth {
|
.maxwidth {
|
||||||
max-width: 42rem;
|
max-width: 42rem;
|
||||||
padding: 0 1.5rem 0 1.5rem;
|
padding: 0;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
@ -183,6 +202,7 @@ header {
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin: 0 0.2rem;
|
margin: 0 0.2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -209,8 +229,12 @@ footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 60%;
|
font-size: 60%;
|
||||||
margin: 1rem 0 0 0;
|
margin: 2rem 0 0 0;
|
||||||
padding: 0.3rem 0 0.3rem 0;
|
|
||||||
|
div.maxwidth {
|
||||||
|
border-top: 1px solid #222;
|
||||||
|
padding: 0.3rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 121 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 28 KiB |
|
@ -22,8 +22,7 @@
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
<!-- <li><a href="[[ macros__page_url(path="dir/file.md") ]]">Link</a></li> -->
|
<li><a href="{{ macros::page_url(path='about.md', trailing_slash=true)}}">About</a></li>
|
||||||
<li><a href="{{ get_url(path="", trailing_slash=true) | safe }}">Topnav Link</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
{%- endblock title -%}
|
{%- endblock title -%}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p class="post-title"><a href="{{ page.permalink | safe }}">{{ page.title }}</a></p>
|
<p class="page-title"><a href="{{ page.permalink | safe }}">{{ page.title }}</a></p>
|
||||||
{{ page.content | safe }}
|
{{ page.content | safe }}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче