.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Mar 05, 2024 19:24 UTC.


This page was created/modified in commit 123ccd4 "Remove duplicate authors" on 2018-06-18.
Markdown source of this page

Uniquify duplicate authors

tags: front-matter author duplicate


Description/Summary

Test that duplicate authors get uniquified in the export.

Content

The duplication can happen in real use if an Org setup file has the same author as in the Org document where that file is included using SETUPFILE. This test mimics this case:

#+setupfile: some-file.org # some-file.org contains "#+author: Foo Bar"
#+author: Foo Bar

Page (Debug)

Page VariableValue
Name "Uniquify duplicate authors"
Title "Uniquify duplicate authors"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/duplicate-authors/"
RelPermalink "/posts/duplicate-authors/"
Data
page.Data{} (type:page.Data)
NextPageType Front-matter
PrevPageUrl encoding in links
NextInSectionType Front-matter
PrevInSectionUrl encoding in links

Page Params (Debug)

KeyTypeValue
author[]string "Foo Bar"
descriptionstring "Test that duplicate authors get uniquified in the export."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2018-06-18 10:01:11 -0400 -0400
tags[]string "front-matter" "author" "duplicate"
titlestring "Uniquify duplicate authors"

File Object (Debug)

FileInfo VariableValue
UniqueID "e27dc20d698cf07c2df6bb6c208e9ff8"
BaseFileName "duplicate-authors"
TranslationBaseName "duplicate-authors"
Lang "en"
Section "posts"
LogicalName "duplicate-authors.md"
Dir "posts/"
Ext "md"
Path "posts/duplicate-authors.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]