-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
68 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "themes/hugo-book"] | ||
path = themes/hugo-book | ||
url = https://github.com/alex-shpak/hugo-book.git |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
layoutDir = 'layouts-pdf' | ||
title = 'PDF' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
# Set source repository location. | ||
# Used for 'Last Modified' and 'Edit this page' links. | ||
BookRepo = 'https://github.com/alex-shpak/hugo-book' | ||
|
||
# Enable "Edit this page" links for 'doc' page type. | ||
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param. | ||
# Edit path must point to root directory of repo. | ||
BookEditPath = 'edit/master/' | ||
|
||
# Configure the date format used on the pages | ||
# - In git information | ||
# - In blog posts | ||
BookDateFormat = 'January 2, 2006' | ||
|
||
# (Optional, default true) Enables search function with flexsearch, | ||
# Index is built on fly, therefore it might slowdown your website. | ||
# Configuration for indexing can be adjusted in i18n folder per language. | ||
BookSearch = true | ||
|
||
# (Optional, default true) Enables comments template on pages | ||
# By default partals/docs/comments.html includes Disqus template | ||
# See https://gohugo.io/content-management/comments/#configure-disqus | ||
# Can be overwritten by same param in page frontmatter | ||
BookComments = true | ||
|
||
# /!\ This is an experimental feature, might be removed or changed at any time | ||
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages. | ||
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode | ||
# Theme will print warning if page referenced in markdown does not exists. | ||
BookPortableLinks = true | ||
|
||
# /!\ This is an experimental feature, might be removed or changed at any time | ||
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. | ||
BookServiceWorker = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: See PDF | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<html> | ||
<body> | ||
<article> | ||
<h1>Book</h1> | ||
{{ .Site.Taxonomies }} | ||
{{ $taxonomies := index .Site.Taxonomies .Page.Type }} | ||
{{ range $taxonomies }} | ||
<div><a href="{{ .Page.Permalink }}">{{ .Page.Title }} <sup>{{ .Count }}</sup></a></div> | ||
{{ end }} | ||
</article> | ||
|
||
</body> | ||
</html> |