Article 1
tags: section
Description/Summary
First article. This will land in content/articles/ as the parent of this subtree sets EXPORT_HUGO_SECTION to articles. Note that the theme needs to define at least the single.html, either in the layouts/_default/ directory, or layouts/articles/, either in the Hugo base dir or the theme dir.
Content
First article.
This will land in content/articles/
as the parent of this subtree
sets EXPORT_HUGO_SECTION
to articles
. Note that the theme needs to
define at least the single.html
, either in the layouts/_default/
directory, or layouts/articles/
, either in the Hugo base dir or the
theme dir.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Article 1" | |
Title | "Article 1" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "articles" | |
Draft | false | |
Type | "articles" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/articles/article-1/" | |
RelPermalink | "/articles/article-1/" | |
Data |
| |
NextPage | Single Post, but draft | |
PrevPage | Article 2 | |
NextInSection | None | |
PrevInSection | Article 2 |
Page Params (Debug)
Key | Type | Value |
---|---|---|
date | time.Time | 2017-07-19 08:34:29 -0400 -0400 |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2018-06-13 13:01:37 -0400 -0400 |
publishdate | time.Time | 2017-07-19 08:34:29 -0400 -0400 |
tags | []string | "section" |
title | string | "Article 1" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "0244f6b361343c4915b8fd5fc3dee509" |
BaseFileName | "article-1" |
TranslationBaseName | "article-1" |
Lang | "en" |
Section | "articles" |
LogicalName | "article-1.md" |
Dir | "articles/" |
Ext | "md" |
Path | "articles/article-1.md" |