mirror of https://github.com/jpanther/congo.git
467 lines
23 KiB
HTML
467 lines
23 KiB
HTML
<!doctype html><html lang=en-au><head>
|
|
<meta charset=utf-8>
|
|
<meta http-equiv=content-language content="en-AU">
|
|
<meta name=viewport content="width=device-width,initial-scale=1">
|
|
<meta http-equiv=x-ua-compatible content="ie=edge">
|
|
<title>Configuration · Congo</title>
|
|
<meta name=title content="Configuration · Congo">
|
|
<meta name=description content="All the configuration variables available in Congo.">
|
|
<link rel=canonical href=https://jpanther.github.io/congo/docs/configuration/>
|
|
<link type=text/css rel=stylesheet href=/congo/css/schemes/congo.min.b48d6ba061dc77186a2524fb8aac5ac3823b2679a9299ca60325abbccc9c1764c884715f0ba24b4e2776cb3814df4af1f4c854b87207cd5d4c7a254da9b55751.css integrity="sha512-tI1roGHcdxhqJST7iqxaw4I7JnmpKZymAyWrvMycF2TIhHFfC6JLTid2yzgU30rx9MhUuHIHzV1MeiVNqbVXUQ==">
|
|
<link type=text/css rel=stylesheet href=/congo/css/compiled/main.min.0616cd1037a5b5a117adb2a5811247073e87aa85bf90466b8597b7f950fea39c6daa6d034e80941fd15e7bd8c1f84e7bd1e2775064f5dfb08fd79622ef2deba3.css integrity="sha512-BhbNEDeltaEXrbKlgRJHBz6HqoW/kEZrhZe3+VD+o5xtqm0DToCUH9Fee9jB+E570eJ3UGT137CP15Yi7y3row==">
|
|
<script>function loadPreferredAppearance(){localStorage.preferredAppearance==="dark"||!("preferredAppearance"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}function setPreferredAppearance(a){a=="default"?localStorage.removeItem("preferredAppearance"):localStorage.preferredAppearance=a,loadPreferredAppearance()}loadPreferredAppearance(),window.matchMedia("(prefers-color-scheme: dark)").addListener(loadPreferredAppearance)</script>
|
|
<link rel=apple-touch-icon sizes=180x180 href=/congo/apple-touch-icon.png>
|
|
<link rel=icon type=image/png sizes=32x32 href=/congo/favicon-32x32.png>
|
|
<link rel=icon type=image/png sizes=16x16 href=/congo/favicon-16x16.png>
|
|
<link rel=manifest href=/congo/site.webmanifest>
|
|
<meta property="og:title" content="Configuration">
|
|
<meta property="og:description" content="All the configuration variables available in Congo.">
|
|
<meta property="og:type" content="article">
|
|
<meta property="og:url" content="https://jpanther.github.io/congo/docs/configuration/"><meta property="article:section" content="docs">
|
|
<meta property="article:published_time" content="2020-08-14T00:00:00+00:00">
|
|
<meta property="article:modified_time" content="2020-08-14T00:00:00+00:00">
|
|
<meta name=twitter:card content="summary">
|
|
<meta name=twitter:title content="Configuration">
|
|
<meta name=twitter:description content="All the configuration variables available in Congo.">
|
|
<script type=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","articleSection":"Documentation","name":"Configuration","headline":"Configuration","description":"All the configuration variables available in Congo.","inLanguage":"en-AU","author":{"@type":"Person","name":"Congo"},"creator":{"@type":"Person","name":"Congo"},"copyrightHolder":"Congo","copyrightYear":"2020","dateCreated":"2020-08-14T00:00:00\u002b00:00","datePublished":"2020-08-14T00:00:00\u002b00:00","dateModified":"2020-08-14T00:00:00\u002b00:00","url":"https:\/\/jpanther.github.io\/congo\/docs\/configuration\/","keywords":["config","docs"],"wordCount":"1337"}</script>
|
|
<meta name=generator content="Hugo 0.91.2">
|
|
<meta name=author content="Congo">
|
|
<link href=https://twitter.com/ rel=me>
|
|
<link href=https://facebook.com/ rel=me>
|
|
<link href=https://linkedin.com/ rel=me>
|
|
<link href=https://youtube.com/ rel=me>
|
|
</head>
|
|
<body class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral text-neutral-900 sm:px-14 md:px-24 lg:px-32 dark:bg-neutral-800 dark:text-neutral max-w-7xl"><header class="flex justify-between py-6 font-semibold sm:items-center sm:py-10 text-neutral-900 dark:text-neutral">
|
|
<div>
|
|
<a class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small" rel=me href=/congo/>Congo</a>
|
|
</div>
|
|
<nav>
|
|
<ul class="flex flex-col list-none sm:flex-row">
|
|
<li class="mb-1 text-right sm:mb-0 sm:mr-7 sm:last:mr-0">
|
|
<a class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small" href=/congo/docs/ title=Documentation>Docs</a>
|
|
</li>
|
|
<li class="mb-1 text-right sm:mb-0 sm:mr-7 sm:last:mr-0">
|
|
<a class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small" href=/congo/samples/ title="Content Samples">Samples</a>
|
|
</li>
|
|
<li class="mb-1 text-right sm:mb-0 sm:mr-7 sm:last:mr-0">
|
|
<a class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small" href=/congo/users/ title=Users>Users</a>
|
|
</li>
|
|
<li class="mb-1 text-right sm:mb-0 sm:mr-7 sm:last:mr-0">
|
|
<a class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small" href=https://github.com/jpanther/congo title>GitHub</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<main class=flex-grow>
|
|
<article class=max-w-prose>
|
|
<header>
|
|
<ol class="text-sm text-neutral-500 dark:text-neutral-400">
|
|
<li class="inline hidden">
|
|
<a class="hover:underline hover:underline-neutral-300 dark:underline-neutral-600" href=/congo/>Welcome to Congo! :tada:</a><span class="px-1 text-primary-500">/</span>
|
|
</li>
|
|
<li class=inline>
|
|
<a class="hover:underline hover:underline-neutral-300 dark:underline-neutral-600" href=/congo/docs/>Documentation</a><span class="px-1 text-primary-500">/</span>
|
|
</li>
|
|
<li class="inline hidden">
|
|
<a class="hover:underline hover:underline-neutral-300 dark:underline-neutral-600" href=/congo/docs/configuration/>Configuration</a><span class="px-1 text-primary-500">/</span>
|
|
</li>
|
|
</ol>
|
|
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">
|
|
Configuration
|
|
</h1>
|
|
<div class="mt-8 mb-12 text-base text-neutral-500 dark:text-neutral-400">
|
|
<div class="flex flex-row items-center">
|
|
<span title="Reading time">7 mins</span><span class="px-2 text-primary-500">·</span>
|
|
<span class=mb-[2px]>
|
|
<a href=https://github.com/jpanther/congo/tree/dev/exampleSite/content/docs/configuration.md class="text-lg hover:text-primary-500" rel="noopener noreferrer" target=_blank title="Edit content">
|
|
<span class="relative inline-block align-text-bottom icon"><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="edit" class="svg-inline--fa fa-edit fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentcolor" d="M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5.0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1.0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7.0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174 402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7-43.2-43.2c-4.1-4.1-10.8-4.1-14.8.0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"/></svg>
|
|
</span>
|
|
</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<section class="prose dark:prose-light">
|
|
<p>Congo is a highly customisable theme and uses some of the latest Hugo features to simplify how it is configured.</p>
|
|
<p>The theme ships with a default configuration that gets you up and running with a basic blog or static website.</p>
|
|
<blockquote>
|
|
<p>Configuration files bundled with the theme are provided in TOML format as this is the default Hugo syntax. Feel free to convert your config to YAML or JSON if you wish.</p>
|
|
</blockquote>
|
|
<p>The default theme configuration is documented in each file so you can freely adjust the settings to meet your needs.</p>
|
|
<div class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900">
|
|
<span class="pr-3 text-primary-400">
|
|
<span class="relative inline-block align-text-bottom icon"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentcolor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937.0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154.0l239.94 416.028zM288 354c-25.405.0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346 7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373.0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884.0-12.356 5.78-11.981 12.654z"/></svg>
|
|
</span>
|
|
</span>
|
|
<span class="no-prose dark:text-neutral-300">As outlined in the <a href=https://jpanther.github.io/congo/docs/installation/#set-up-theme-configuration-files>installation instructions</a>, you should adjust your theme configuration by modifying the files in the <code>config/_default/</code> folder of your Hugo project and delete the <code>config.toml</code> file in your project root.</span>
|
|
</div>
|
|
<h2 id=site-configuration>Site configuration <a class=heading-anchor href=#site-configuration aria-label=Anchor>#</a></h2>
|
|
<p>Standard Hugo configuration variables are respected throughout the theme, however there are some specific things that should be configured for the best experience.</p>
|
|
<p>The site configuration is managed through the <code>config/_default/config.toml</code> file. The table below outlines all the settings that the Congo takes advantage of.</p>
|
|
<p>Note that the variable names provided in this table use dot notation to simplify the TOML data structure (ie. <code>author.name</code> refers to <code>[author] name</code>).</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Type</th>
|
|
<th>Default</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>theme</code></td>
|
|
<td>string</td>
|
|
<td><code>"congo"</code></td>
|
|
<td>When using Hugo Modules this config value should be removed. For all other installation types, this must be set to <code>congo</code> for the theme to function.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>baseURL</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The URL to the root of the website.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>languageCode</code></td>
|
|
<td>string</td>
|
|
<td><code>"en"</code></td>
|
|
<td>The language of the website for site metadata purposes. It can be a top-level language (ie. <code>en</code>) or a sub-variant (ie. <code>en-AU</code>)."</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>defaultContentLanguage</code></td>
|
|
<td>string</td>
|
|
<td><code>"en"</code></td>
|
|
<td>This value determines the language of theme components."</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>title</code></td>
|
|
<td>string</td>
|
|
<td><code>"Congo"</code></td>
|
|
<td>The title of the website. This will be displayed in the site header and footer.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>copyright</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Congo will automatically generate a copyright string using the site <code>title</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>enableEmoji</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether emoji strings in content should be converted to emoji symbols.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>enableRobotsTXT</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>When enabled a <code>robots.txt</code> file will be created in the site root that allows search engines to crawl the entire site. Set to <code>false</code> if you wish to provide your own file.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>summaryLength</code></td>
|
|
<td>integer</td>
|
|
<td><code>0</code></td>
|
|
<td>The number of words that are used to generate the article summary when one is not provided in the <a href=https://jpanther.github.io/congo/docs/front-matter/>front matter</a>. A value of <code>0</code> will use the first sentence. This value has no effect when summaries are hidden.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>author.name</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The author’s name. This will be displayed in article footers, and on the homepage when the profile layout is used.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>author.image</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site’s <code>static/</code> folder.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>author.bio</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>A Markdown string containing the author’s bio. It will be displayed in article footers.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>author.links</code></td>
|
|
<td>array of objects</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The links to display alongside the author’s details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in <code>assets/icons/</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>permalinks</code></td>
|
|
<td></td>
|
|
<td><em>Not set</em></td>
|
|
<td>Refer to the <a href=https://gohugo.io/content-management/urls/#permalinks>Hugo docs</a> for permalink configuration.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>taxonomies</code></td>
|
|
<td></td>
|
|
<td><em>Not set</em></td>
|
|
<td>Refer to the <a href=https://jpanther.github.io/congo/docs/getting-started/#organising-content>Organising content</a> section for taxonomy configuration.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2 id=theme-parameters>Theme parameters <a class=heading-anchor href=#theme-parameters aria-label=Anchor>#</a></h2>
|
|
<p>Congo provides a large number of configuration parameters that control how the theme functions. The table below outlines every available parameter in the <code>config/_default/params.toml</code> file.</p>
|
|
<p>Many of the article defaults here can be overridden on a per article basis by specifying it in the front matter. Refer to the <a href=https://jpanther.github.io/congo/docs/front-matter/>Front Matter</a> section for further details.</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Type</th>
|
|
<th>Default</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>colorScheme</code></td>
|
|
<td>string</td>
|
|
<td><code>"congo"</code></td>
|
|
<td>The theme colour scheme to use. Valid values are <code>congo</code> (default), <code>avocado</code>, <code>ocean</code>, <code>fire</code> and <code>slate</code>. Refer to the <a href=https://jpanther.github.io/congo/docs/getting-started/#colour-schemes>Colour Schemes</a> section for more details.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>darkMode</code></td>
|
|
<td>boolean or string</td>
|
|
<td><code>"auto"</code></td>
|
|
<td>The preferred theme appearance for dark mode. Set to <code>true</code> to force dark appearance or <code>false</code> to force light appearance. Using <code>"auto"</code> will defer to the user’s operating system preference.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>darkToggle</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>When <code>darkMode</code> is set to <code>"auto"</code>, this parameter determines whether or not to show the appearance toggle in the site footer. The browser’s local storage is used to persist the user’s preference.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>logo</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The relative path to the site logo file within the <code>assets/</code> folder. The logo file should be provided at 2x resolution and supports any image dimensions.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>description</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The description of the website for metadata purposes.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>mainSections</code></td>
|
|
<td>array of strings</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>robots</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to <a href=https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives>Google’s docs</a> for valid values.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>homepage.layout</code></td>
|
|
<td>string</td>
|
|
<td><code>"page"</code></td>
|
|
<td>The layout of the homepage. Valid values are <code>page</code>, <code>profile</code> or <code>custom</code>. When set to <code>custom</code>, you must provide your own layout by creating a <code>/layouts/partials/home/custom.html</code> file. Refer to the <a href=https://jpanther.github.io/congo/docs/homepage-layout/>Homepage Layout</a> section for more details.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>homepage.showRecent</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not to display the recent articles list on the homepage.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showDate</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not article dates are displayed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showDateUpdated</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not the dates articles were updated are displayed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.dateFormat</code></td>
|
|
<td>string</td>
|
|
<td><code>"2 January 2006"</code></td>
|
|
<td>How article dates are formatted. Refer to the <a href=https://gohugo.io/functions/format/#gos-layout-string>Hugo docs</a> for acceptable formats.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showAuthor</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not the author box is displayed in the article footer.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showBreadcrumbs</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not breadcrumbs are displayed in the article header.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showDraftLabel</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not the draft indicator is shown next to articles when site is built with <code>--buildDrafts</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showEdit</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not the link to edit the article content should be displayed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.editURL</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>When <code>article.showEdit</code> is active, the URL for the edit link.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.editAppendPath</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>When <code>article.showEdit</code> is active, whether or not the path to the current article should be appended to the URL set at <code>article.editURL</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showHeadingAnchors</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not heading anchor links are displayed alongside headings within articles.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showPagination</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not the next/previous article links are displayed in the article footer.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showReadingTime</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not article reading times are displayed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.showWordCount</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not article word counts are displayed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>article.sharingLinks</code></td>
|
|
<td>array of strings</td>
|
|
<td><em>Not set</em></td>
|
|
<td>Which sharing links to display at the end of each article. When not provided, or set to <code>false</code> no links will be displayed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>list.showBreadcrumbs</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not breadcrumbs are displayed in the header on list pages.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>list.showSummary</code></td>
|
|
<td>boolean</td>
|
|
<td><code>false</code></td>
|
|
<td>Whether or not article summaries are displayed on list pages. If a summary is not provided in the <a href=https://jpanther.github.io/congo/docs/front-matter/>front matter</a>, one will be auto generated using the <code>summaryLength</code> parameter in the <a href=#site-configuration>site configuration</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>list.groupByYear</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not articles are grouped by year on list pages.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>sitemap.excludedKinds</code></td>
|
|
<td>array of strings</td>
|
|
<td><code>["taxonomy", "term"]</code></td>
|
|
<td>Kinds of content that should be excluded from the generated <code>/sitemap.xml</code> file. Refer to the <a href=https://gohugo.io/templates/section-templates/#page-kinds>Hugo docs</a> for acceptable values.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>taxonomy.showTermCount</code></td>
|
|
<td>boolean</td>
|
|
<td><code>true</code></td>
|
|
<td>Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>fathomAnalytics.site</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The site code generated by Fathom Analytics for the website. Refer to the <a href=https://jpanther.github.io/congo/docs/partials/#analytics>Analytics docs</a> for more details.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>fathomAnalytics.domain</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>If using a custom domain with Fathom Analytics, provide it here to serve <code>script.js</code> from the custom domain.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>verification.google</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The site verification string provided by Google to be included in the site metadata.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>verification.bing</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The site verification string provided by Bing to be included in the site metadata.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>verification.pinterest</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The site verification string provided by Pinterest to be included in the site metadata.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>verification.yandex</code></td>
|
|
<td>string</td>
|
|
<td><em>Not set</em></td>
|
|
<td>The site verification string provided by Yandex to be included in the site metadata.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
<footer class=pt-8>
|
|
<div class="pt-8 article-pagination">
|
|
<hr class="border-dotted border-neutral-300 dark:border-neutral-600">
|
|
<div class="flex justify-between pt-3">
|
|
<span>
|
|
<a class=flex href=/congo/docs/getting-started/>
|
|
<span class="mr-3 article-pagination-direction">←</span>
|
|
<span class="flex flex-col">
|
|
<span class="article-pagination-title mt-[0.1rem] leading-6">Getting Started</span>
|
|
<span class="mt-[0.1rem] text-xs text-neutral-500 dark:text-neutral-400">
|
|
</span>
|
|
</span>
|
|
</a>
|
|
</span>
|
|
<span>
|
|
<a class="flex text-right" href=/congo/docs/homepage-layout/>
|
|
<span class="flex flex-col">
|
|
<span class="article-pagination-title mt-[0.1rem] leading-6">Homepage Layout</span>
|
|
<span class="mt-[0.1rem] text-xs text-neutral-500 dark:text-neutral-400">
|
|
</span>
|
|
</span>
|
|
<span class="ml-3 article-pagination-direction">→</span>
|
|
</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</article>
|
|
</main><footer class=py-10>
|
|
<div class="flex justify-between">
|
|
<div>
|
|
<p class="text-sm text-neutral-500 dark:text-neutral-400">
|
|
©
|
|
2022
|
|
Congo
|
|
</p>
|
|
<p class="text-xs text-neutral-400 dark:text-neutral-600">
|
|
Powered by <a class="hover:underline hover:underline-primary-400 hover:text-primary-500" href=https://gohugo.io/ target=_blank rel="noopener noreferrer">Hugo</a> & <a class="hover:underline hover:underline-primary-400 hover:text-primary-500" href=https://git.io/hugo-congo target=_blank rel="noopener noreferrer">Congo</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html> |