.Kind (page): .Type (posts) / .Layout ()
Bundle: leaf
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Oct 09, 2018 14:48 UTC.


This page was created/modified in commit a948c6d "Add post with links to test sites with baseURL with subdir" on 2018-04-12.
Markdown source of this page

BaseURLs with subdirs and absURL/relURL

categories: miscellaneous

tags: absURL relURL baseURL subdir canonifyURLs


Description/Summary

Discussion Test Site Description Link Test site with baseURL with subdir – canonifyURLs = false (default) https://hugo-sandbox.netlify.com/subdir-canonify-false/ Test site with baseURL with subdir – canonifyURLs = true https://hugo-sandbox.netlify.com/subdir-canonify-true/


Content

Discussion

Test Site Description Link
Test site with baseURL with subdir – canonifyURLs = false (default) https://hugo-sandbox.netlify.com/subdir-canonify-false/
Test site with baseURL with subdir – canonifyURLs = true https://hugo-sandbox.netlify.com/subdir-canonify-true/

Page (Debug)

Page VariableValue
Name "BaseURLs with subdirs and absURL/relURL"
Title "BaseURLs with subdirs and absURL/relURL"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/baseurl-with-subdir/"
RelPermalink "/posts/baseurl-with-subdir/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
NextPageA Project Foo post
PrevPageCasing of Front-matter Keys (Leaf Bundle)
NextInSectionA Project Foo post
PrevInSectionCasing of Front-matter Keys (Leaf Bundle)

Page Params (Debug)

KeyTypeValue
author[]string "Kaushal Modi"
categories[]string "miscellaneous"
creatorstring "Emacs 27.0.50 (Org mode 9.1.9 + ox-hugo)"
draftbool false
iscjklanguagebool false
lastmodtime.Time 2018-04-12 23:20:27 -0400 -0400
tags[]string "absURL" "relURL" "baseURL" "subdir" "canonifyURLs"
titlestring "BaseURLs with subdirs and absURL/relURL"

File Object (Debug)

FileInfo VariableValue
UniqueID "ba901f5a24cb29be5cd931bcf8290a78"
BaseFileName "index"
TranslationBaseName "index"
Lang "en"
Section "posts"
LogicalName "index.md"
Dir "posts/baseurl-with-subdir/"
Ext "md"
Path "posts/baseurl-with-subdir/index.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.50-DEV (commit d5d50e2f, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]