forked from gitbot/hugo-book
Compare commits
6 Commits
v9
...
soper-book
Author | SHA1 | Date |
---|---|---|
Soper Aylamo | 17757a3edb | |
Soper Aylamo | de09019ca9 | |
Soper Aylamo | 6627b0e417 | |
Soper Aylamo | 46ff40d1f4 | |
Soper Aylamo | 69cc6e203c | |
Soper Aylamo | 57c7d0ad65 |
|
@ -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)
|
||||
|
|
|
@ -6,4 +6,5 @@ weight: 1
|
|||
# bookHidden: false
|
||||
# bookCollapseSection: false
|
||||
# bookComments: true
|
||||
draft: true
|
||||
---
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: "{{ .Name | humanize | title }}"
|
||||
weight: 1
|
||||
# bookFlatSection: false
|
||||
# bookToc: true
|
||||
# bookHidden: false
|
||||
# bookCollapseSection: false
|
||||
# bookComments: true
|
||||
draft: true
|
||||
---
|
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
tags: []
|
||||
categories: []
|
||||
draft: true
|
||||
---
|
||||
|
|
|
@ -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');
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.
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.
Binary file not shown.
Loading…
Reference in New Issue