mirror of
https://github.com/SqrtMinusOne/sqrtminusone.github.io.git
synced 2025-12-10 15:53:03 +03:00
website: add LGC font, exclude pages from sitemap
This commit is contained in:
parent
a85d4d9550
commit
493fc0318a
4 changed files with 35 additions and 1 deletions
|
|
@ -8,7 +8,14 @@ $black: {{ .Param "style.colorBlack" | default "#222222" }};
|
||||||
$red: {{ .Param "style.colorRed" | default "#dc3545" }};
|
$red: {{ .Param "style.colorRed" | default "#dc3545" }};
|
||||||
|
|
||||||
// Font
|
// Font
|
||||||
$font-family: {{ .Param "style.fontFamily" | default "Inconsolata" }};
|
// $font-family: {{ .Param "style.fontFamily" | default "Inconsolata" }};
|
||||||
|
@font-face {
|
||||||
|
font-family: "Inconsolata LGC";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local(""), url("fonts/inconsolatalgc-scaled-down.woff2") format('woff2');
|
||||||
|
}
|
||||||
|
$font-family: "Inconsolata", "Inconsolata LGC";
|
||||||
|
|
||||||
// Margins
|
// Margins
|
||||||
$y-small: 0.6rem;
|
$y-small: 0.6rem;
|
||||||
|
|
@ -230,6 +237,14 @@ $toc-left-width: $toc-width + $max-width + 25px;
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.table-no-header {
|
||||||
|
th {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
margin: 0rem 0rem 0.5rem 0rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 4px solid;
|
border-left: 4px solid;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
@ -271,6 +286,9 @@ $toc-left-width: $toc-width + $max-width + 25px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
span.underline {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#footer {
|
#footer {
|
||||||
a {
|
a {
|
||||||
|
|
|
||||||
16
layouts/sitemap.xml
Normal file
16
layouts/sitemap.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
{{ range .Data.Pages }}
|
||||||
|
{{ if not .Params.private }}
|
||||||
|
<url>
|
||||||
|
<loc>{{ .Permalink }}</loc>
|
||||||
|
<lastmod>{{ .Date.Format "2006-01-02T15:04:05-07:00" }}</lastmod>
|
||||||
|
{{ with .Sitemap.ChangeFreq }}
|
||||||
|
<changefreq>{{ . }}</changefreq>
|
||||||
|
{{ end }}
|
||||||
|
{{ if ge .Sitemap.Priority 0.0 }}
|
||||||
|
<priority>{{ .Sitemap.Priority }}</priority>
|
||||||
|
{{ end }}
|
||||||
|
</url>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</urlset>
|
||||||
BIN
static/sass/fonts/inconsolatalgc-scaled-down.ttf
Normal file
BIN
static/sass/fonts/inconsolatalgc-scaled-down.ttf
Normal file
Binary file not shown.
BIN
static/sass/fonts/inconsolatalgc-scaled-down.woff2
Normal file
BIN
static/sass/fonts/inconsolatalgc-scaled-down.woff2
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue