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 Variable | Value |
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) |
|
NextPage | Type Front-matter |
PrevPage | Url encoding in links |
NextInSection | Type Front-matter |
PrevInSection | Url encoding in links |
Page Params (Debug)
Key | Type | Value |
author | []string |
"Foo Bar"
|
description | string |
"Test that duplicate authors get uniquified in the export."
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2018-06-18 10:01:11 -0400 -0400
|
tags | []string |
"front-matter"
"author"
"duplicate"
|
title | string |
"Uniquify duplicate authors"
|
File Object (Debug)
FileInfo Variable | Value |
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"
|