Compare commits

..

6 Commits

23 changed files with 98 additions and 3 deletions

View File

@ -41,7 +41,7 @@
Navigate to your hugo project root and run:
```
git submodule add https://github.com/alex-shpak/hugo-book themes/book
git submodule add https://git.soper.xyz/Soper/hugo-book themes/book
```
Then run hugo (or set `theme = "book"`/`theme: book` in configuration file)

View File

@ -6,4 +6,5 @@ weight: 1
# bookHidden: false
# bookCollapseSection: false
# bookComments: true
draft: true
---

10
archetypes/misc.md Normal file
View File

@ -0,0 +1,10 @@
---
title: "{{ .Name | humanize | title }}"
weight: 1
# bookFlatSection: false
# bookToc: true
# bookHidden: false
# bookCollapseSection: false
# bookComments: true
draft: true
---

View File

@ -1,4 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
tags: []
categories: []
draft: true
---

View File

@ -1,3 +1,7 @@
/* You can add custom styles here. */
// @import "plugins/numbered";
//Uncomment the following if local fonts will not load
//@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
//@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

View File

@ -40,10 +40,86 @@
url('fonts/roboto-mono-v6-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* UBUNTU; LOADED BY SOPER */
/* Regular */
@font-face {
font-family: 'Ubuntu';
src: url('fonts/Ubuntu-Bold.woff2') format('woff2'),
url('fonts/Ubuntu-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Ubuntu';
src: url('fonts/Ubuntu-Italic.woff2') format('woff2'),
url('fonts/Ubuntu-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Ubuntu';
src: url('fonts/Ubuntu-BoldItalic.woff2') format('woff2'),
url('fonts/Ubuntu-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Ubuntu';
src: url('fonts/Ubuntu.woff2') format('woff2'),
url('fonts/Ubuntu.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
/* Mono */
@font-face {
font-family: 'Ubuntu Mono';
src: url('fonts/UbuntuMono-Bold.woff2') format('woff2'),
url('fonts/UbuntuMono-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Ubuntu Mono';
src: url('fonts/UbuntuMono-BoldItalic.woff2') format('woff2'),
url('fonts/UbuntuMono-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Ubuntu Mono';
src: url('fonts/UbuntuMono-Regular.woff2') format('woff2'),
url('fonts/UbuntuMono-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Ubuntu Mono';
src: url('fonts/UbuntuMono-Italic.woff2') format('woff2'),
url('fonts/UbuntuMono-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
body {
font-family: 'Roboto', sans-serif;
font-family: 'Ubuntu', 'Roboto', sans-serif;
}
code {
font-family: 'Roboto Mono', monospace;
font-family: 'Ubuntu Mono', 'Roboto Mono', monospace;
}

View File

@ -8,6 +8,7 @@
<style>
.not-found {
text-align: center;
font-family: 'Consolas', monospace;
}
.not-found h1 {
margin: .25em 0 0 0;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
static/fonts/Ubuntu.woff Normal file

Binary file not shown.

BIN
static/fonts/Ubuntu.woff2 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.