|
| 1 | +# Base URL where the site will be hosted |
1 | 2 | baseURL = "https://textbooks.cs.ksu.edu/cis400" |
| 3 | +# Default language for the site |
2 | 4 | languageCode = "en-us" |
| 5 | +# Site Title |
3 | 6 | title = "K-State CIS 400 Textbook" |
| 7 | +# This will fix URLs to match baseURL (for hosting in subfolders) |
4 | 8 | canonifyURLs = true |
| 9 | +# This displays last edited information at bottom of page |
5 | 10 | enableGitInfo = true |
6 | 11 |
|
7 | 12 | # Change the default theme to be use when building the site with Hugo |
8 | | -theme = ["hugo-theme-relearn"] |
| 13 | +theme = "hugo-theme-relearn" |
9 | 14 |
|
10 | | -# For search functionality |
| 15 | +# Output Types |
| 16 | +# HTML - default page |
| 17 | +# RSS - for RSS feeds |
| 18 | +# PRINT - printable output |
| 19 | +# JSON - enables Lunr search engine |
| 20 | +# TELE - Teleprompter |
| 21 | +# EMBED - Embeddable Version |
11 | 22 | [outputs] |
12 | | - home = ["HTML", "RSS", "PRINT", "JSON"] |
| 23 | + home = ["HTML", "RSS", "PRINT", "SEARCH", "SEARCHPAGE"] |
13 | 24 | section = ["HTML", "RSS", "PRINT", "TELE", "EMBED"] |
14 | 25 | page = ["HTML", "RSS", "PRINT", "TELE", "EMBED"] |
15 | 26 |
|
16 | 27 | [params] |
17 | | - alwaysopen = false |
18 | 28 | textbookURL = "https://textbooks.cs.ksu.edu/cis400" |
19 | | - editURL = "https://gitlab.cs.ksu.edu/nhbean/ksucs-hugo/tree/master/cis400-textbook/" |
| 29 | + # This controls whether submenus will be expanded (true), or collapsed (false) in the |
| 30 | + # menu; if no setting is given, the first menu level is set to false, all others to true; |
| 31 | + # this can be overridden in the pages frontmatter |
| 32 | + alwaysopen = false |
| 33 | + # Prefix URL to edit current page. Will display an "Edit" button on top right hand corner of every page. |
| 34 | + # Useful to give opportunity to people to create merge request for your doc. |
| 35 | + # See the config.toml file from this documentation site to have an example. |
| 36 | + editURL = "https://gitlab.cs.ksu.edu/-/ide/project/cs-textbooks/cis400-textbook/edit/master/-/content/" |
| 37 | + # Author of the site, will be used in meta information |
20 | 38 | author = "Nathan Bean" |
| 39 | + # Description of the site, will be used in meta information |
21 | 40 | description = "K-State CIS 400 Textbook" |
| 41 | + # Shows a checkmark for visited pages on the menu |
22 | 42 | showVisitedLinks = false |
23 | | - disableSearch = false |
24 | | - disableSeoHiddenPages = true |
| 43 | + # Disable search function. It will hide search bar |
| 44 | + disableSearch = false |
| 45 | + # Disable search in hidden pages, otherwise they will be shown in search box |
| 46 | + disableSearchHiddenPages = true |
| 47 | + # Disables hidden pages from showing up in the sitemap and on Google (et all), otherwise they may be indexed by search engines |
| 48 | + disableSeoHiddenPages = true |
| 49 | + # Disables hidden pages from showing up on the tags page although the tag term will be displayed even if all pages are hidden |
25 | 50 | disableTagHiddenPages = true |
26 | | - disableAssetBusting = true |
27 | | - disableInlineCopyToClipboard = true |
28 | | - disableShortcutsTitle = false |
29 | | - disableLandingPageButton = true |
| 51 | + # Javascript and CSS cache are automatically busted when new version of site is generated. |
| 52 | + # Set this to true to disable this behavior (some proxies don't handle well this optimization) |
| 53 | + disableAssetsBusting = false |
| 54 | + # Set this to true to disable copy-to-clipboard button for inline code. |
| 55 | + disableInlineCopyToClipBoard = true |
| 56 | + # A title for shortcuts in menu is set by default. Set this to true to disable it. |
| 57 | + disableShortcutsTitle = false |
| 58 | + # If set to false, a Home button will appear below the search bar on the menu. |
| 59 | + # It is redirecting to the landing page of the current language if specified. (Default is "/") |
| 60 | + disableLandingPageButton = true |
| 61 | + # When using mulitlingual website, disable the switch language button. |
30 | 62 | disableLanguageSwitchingButton = false |
31 | | - disableBreadcrumbs = false |
32 | | - disableToc = false |
33 | | - disableMathJax = true |
34 | | - disableMermaid = true |
35 | | - disableSwagger = true |
36 | | - disableNextPrev = false |
37 | | - themeVariant = ["light-theme", "dark-theme"] |
38 | | - collapsibleMenu = true |
39 | | - additionalContentLanguage = ["en"] |
40 | | - |
41 | | - #landingPageURL = "/cis642-643" |
42 | | - #textbookURL = "https://textbooks.cs.ksu.edu/cis642-643" |
43 | | - |
44 | | - linenumbers = true |
| 63 | + # Hide breadcrumbs in the header and only show the current page title |
| 64 | + disableBreadcrumb = false |
| 65 | + # If set to true, hide table of contents menu in the header of all pages |
| 66 | + disableToc = false |
| 67 | + # If set to false, load the MathJax module on every page regardless if a MathJax shortcode is present |
| 68 | + disableMathJax = true |
| 69 | + # Specifies the remote location of the MathJax js |
| 70 | + # customMathJaxURL = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" |
| 71 | + # Initialization parameter for MathJax, see MathJax documentation |
| 72 | + # mathJaxInitialize = "{}" |
| 73 | + # If set to false, load the Mermaid module on every page regardless if a Mermaid shortcode or Mermaid codefence is present |
| 74 | + disableMermaid = true |
| 75 | + # Specifies the remote location of the Mermaid js |
| 76 | + # customMermaidURL = "https://unpkg.com/mermaid/dist/mermaid.min.js" |
| 77 | + # Initialization parameter for Mermaid, see Mermaid documentation |
| 78 | + # mermaidInitialize = "{ \"theme\": \"default\" }" |
| 79 | + # If set to false, load the Swagger module on every page regardless if a Swagger shortcode is present |
| 80 | + disableSwagger = true |
| 81 | + # Specifies the remote location of the RapiDoc js |
| 82 | + # customSwaggerURL = "https://unpkg.com/rapidoc/dist/rapidoc-min.js" |
| 83 | + # Initialization parameter for Swagger, see RapiDoc documentation |
| 84 | + # swaggerInitialize = "{ \"theme\": \"light\" }" |
| 85 | + # Hide Next and Previous page buttons normally displayed full height beside content |
| 86 | + disableNextPrev = false |
| 87 | + # Order sections in menu by "weight" or "title". Default to "weight"; |
| 88 | + # this can be overridden in the pages frontmatter |
| 89 | + ordersectionsby = "weight" |
| 90 | + # Change default color scheme with a variant one. Eg. can be "red", "blue", "green" or an array like [ "blue", "green" ]. |
| 91 | + themeVariant = ["auto", "light-theme", "dark-theme"] |
| 92 | + # The first element is the variant for light mode, the second for dark mode |
| 93 | + themeVariantAuto = ["light-theme", "dark-theme"] |
| 94 | + # Change the title separator. Default to "::". |
| 95 | + # titleSeparator = "-" |
| 96 | + # If set to true, the menu in the sidebar will be displayed in a collapsible tree view. |
| 97 | + collapsibleMenu = true |
| 98 | + # If a single page can contain content in multiple languages, add those here |
| 99 | + additionalContentLanguage = [ "en" ] |
45 | 100 |
|
46 | | -[blackfriday] |
47 | | - plainIDAnchors = true |
48 | | - hrefTargetBlank = true |
| 101 | + # [x] russfeld |
| 102 | + # Custom parameters |
| 103 | + commitURL = "https://gitlab.cs.ksu.edu/cs-textbooks/cis400-textbook/-/commit/" |
49 | 104 |
|
50 | 105 | [markup] |
51 | 106 | [markup.highlight] |
52 | 107 | # if set to `guessSyntax = true`, there will be no unstyled code even if no language |
53 | 108 | # was given BUT mermaid code fences will not work anymore! So this is a mandatory |
54 | 109 | # setting for your site |
55 | 110 | guessSyntax = false |
| 111 | + |
| 112 | + # choose a color theme or create your own |
56 | 113 | style = "monokai" |
57 | 114 | [markup.goldmark] |
58 | 115 | [markup.goldmark.renderer] |
| 116 | + # Render raw HTML |
59 | 117 | unsafe = true |
| 118 | + |
0 commit comments