|
1 | 1 | baseURL = "https://linode.com/docs/"
|
2 | 2 | languageCode = "en-us"
|
3 | 3 | title = "Linode Guides & Tutorials"
|
4 |
| -theme = "docsmith" |
5 |
| - |
6 |
| -contentDir = "docs" |
7 |
| - |
8 |
| -# Highlighting config (Pygments) |
9 |
| - |
10 |
| -# Styles created with hugo gen chromastyles --style=perldoc > assets/stylesheets/_syntax-chroma.css |
11 |
| -pygmentsUseClasses = true |
12 |
| -pygmentsCodeFences = true |
13 |
| - |
14 |
| -# Use the new and fast Chroma highlighter (Pygments port) in Hugo >= 0.28. |
15 |
| -pygmentsUseClassic = false |
16 |
| - |
17 |
| -# See https://help.farbox.com/pygments.html |
18 |
| -# Also see pygmentsUseClasses above. |
19 |
| -pygmentsStyle = "perldoc" |
20 |
| - |
21 |
| -disqusShortname="linode-1" |
22 |
| - |
23 |
| -#disableKinds = ["taxonomy", "taxonomyTerm"] |
24 | 4 |
|
| 5 | +disableKinds = ["taxonomy", "taxonomyTerm"] |
| 6 | +themeDir = ".." |
25 | 7 | rssLimit = 30
|
| 8 | +summaryLength = 15 |
| 9 | +timeout = "2m" |
26 | 10 |
|
27 |
| -enableGitInfo = true |
| 11 | +[outputs] |
| 12 | +# The JSON is for the search index. We build this on every build to make sure we have the image thumbnails in sync. |
| 13 | +home = ["HTML", "JSON", "RSS"] |
28 | 14 |
|
29 | 15 | [frontmatter]
|
30 | 16 | lastmod = [":git", "lastmod", "date", "publishDate"]
|
31 | 17 |
|
32 |
| -[blackfriday] |
33 |
| -fractions = false |
34 |
| - |
35 |
| -[outputs] |
36 |
| -home = [ "HTML", "RSS"] |
37 |
| -section = ["HTML"] |
38 |
| -page = ["HTML"] |
39 |
| - |
40 |
| -[taxonomies] |
41 |
| -audience = "audiences" |
42 |
| -concentration = "concentrations" |
43 |
| -language = "languages" |
44 |
| - |
45 | 18 | [params]
|
46 | 19 | description = "Guides and tutorials on the Linode platform, Linux basics, and software installation and configuration."
|
47 |
| -default_image_width = 120 |
48 |
| -default_image_height = 120 |
49 |
| - |
50 | 20 | # Date and time formatting, see https://gohugo.io/functions/format/
|
51 | 21 | time_format_RFC3339 = "2006-01-02T15:04:05Z07:00"
|
52 | 22 | time_format_default = "Monday, January 2, 2006"
|
53 | 23 |
|
54 |
| - |
55 |
| -# Related Content ("See Also") configuration. |
56 |
| -# [related] |
57 |
| -# threshold = 80 |
58 |
| -# includeNewer = true |
59 |
| -# toLower = false |
60 |
| -# |
61 |
| -# [[related.indices]] |
62 |
| -# name = "keywords" |
63 |
| -# weight = 100 |
64 |
| -# [[related.indices]] |
65 |
| -# name = "date" |
66 |
| -# weight = 10 |
67 |
| -# pattern = "2006" |
68 |
| - |
| 24 | +[params.search_config] |
| 25 | +app_id = "KGUN8FAIPF" |
| 26 | +api_key = "d4847002cd30392fe0fbd00a1da933ed" |
| 27 | +meta_index = "linode-docs-sections-bep" |
| 28 | +explorer_max_leafnodes = 50 |
| 29 | +hits_per_page = 4 |
| 30 | + |
| 31 | +[[params.search_config.sections]] |
| 32 | +name = "products" |
| 33 | +index = "linode-docs-bep" |
| 34 | +title = "Products" |
| 35 | +filters = "section.lvl0:products" |
| 36 | +# The icons are fetched from layouts/sections/navigation/explorer-icons.html |
| 37 | +explorer_icon = "#icon-explorer--products" |
| 38 | +explorer_map_title = true |
| 39 | +filtering_facets = [ |
| 40 | + { name = "category", title = "Doc Category" }, |
| 41 | + { name = "skillLevel", title = "Skill Level" }, |
| 42 | + { name = "languages", title = "Languages" } |
| 43 | +] |
| 44 | +explorer_regular_pages_start_level = 2 |
| 45 | +hits_per_page = 4 |
| 46 | + |
| 47 | +[[params.search_config.sections]] |
| 48 | +name = "docs" |
| 49 | +index = "linode-docs-bep" |
| 50 | +title = "Guides" |
| 51 | +filters = "section.lvl0:docs" |
| 52 | +explorer_icon = "#icon-explorer--guides" |
| 53 | +explorer_map_title = true |
| 54 | +filtering_facets = [ |
| 55 | + { name = "category", title = "Doc Category" }, |
| 56 | + { name = "skillLevel", title = "Skill Level" }, |
| 57 | + { name = "languages", title = "Languages" }, |
| 58 | + { name = "tags", title = "Tags", isTags = true } |
| 59 | +] |
| 60 | +explorer_regular_pages_start_level = 2 |
| 61 | +hits_per_page = 4 |
| 62 | + |
| 63 | +[[params.search_config.sections]] |
| 64 | +name = "api" |
| 65 | +index = "linode-docs-api-bep" |
| 66 | +title = "API" |
| 67 | +filters = "section.lvl0:api" |
| 68 | +explorer_icon = "#icon-explorer--api" |
| 69 | +explorer_regular_pages_start_level = 2 |
| 70 | +hits_per_page = 4 |
| 71 | +filtering_facets = [{ name = "category", title = "Doc Category" }] |
| 72 | + |
| 73 | +[[params.search_config.sections]] |
| 74 | +name = "marketplace" |
| 75 | +index = "linode-wp" |
| 76 | +title = "Marketplace" |
| 77 | +filters = "section.lvl0:Marketplace" |
| 78 | +explorer_icon = "#icon-explorer--products" |
| 79 | +explorer_regular_pages_start_level = 2 |
| 80 | +hits_per_page = 4 |
| 81 | +filtering_facets = [{ name = "category", title = "Doc Category" }] |
| 82 | + |
| 83 | +[[params.search_config.sections]] |
| 84 | +name = "blog" |
| 85 | +index = "linode-wp-blog" |
| 86 | +title = "Blog" |
| 87 | +filters = "section.lvl0:Blog" |
| 88 | +explorer_icon = "#icon-explorer--blog" |
| 89 | +explorer_regular_pages_start_level = 2 |
| 90 | +hits_per_page = 4 |
| 91 | +filtering_facets = [{ name = "category", title = "Doc Category" }] |
| 92 | + |
| 93 | +[[params.search_config.sections]] |
| 94 | +# Identifier. It's also used as the Algolia index name. |
| 95 | +# If you need to map several sections to one Algolia index, |
| 96 | +# set the index attribute. |
| 97 | +name = "resources" |
| 98 | +index = "linode-wp-resources" |
| 99 | +title = "Resources" |
| 100 | +filters = "section.lvl0:Resources" |
| 101 | +explorer_icon = "#icon-explorer--resources" |
| 102 | +explorer_regular_pages_start_level = 2 |
| 103 | +hits_per_page = 4 |
| 104 | +filtering_facets = [{ name = "category", title = "Doc Category" }] |
| 105 | + |
| 106 | +[minify] |
| 107 | +disableSVG = true |
| 108 | + |
| 109 | +[imaging] |
| 110 | +resampleFilter = "CatmullRom" |
| 111 | +quality = 75 |
| 112 | +anchor = "smart" |
0 commit comments