.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 Jun 26, 2022 21:18 UTC.


This page was created/modified in commit 5ec7df9 "Fix: Ignore EXPORT_HUGO_SLUG value when deriving relref links" on 2022-03-17.
Markdown source of this page

Links outside the same post

tags: links


Description/Summary

ox-hugo Issue #30 External links with search options external-links # Links between documents can contain some search options. Only links to a heading with a :CUSTOM_ID property will be resolved to the appropriate location in the linked file. Links to headings and links to targets will be resolved to the containing file. Link to CUSTOM_ID Link to a heading Links to Org Targets: here and here Internal links internal-links # Internal links point to targets in the current subtree that will be exported to the same Hugo post as the link source.


Content

ox-hugo Issue #30

Links between documents can contain some search options. Only links to a heading with a :CUSTOM_ID property will be resolved to the appropriate location in the linked file. Links to headings and links to targets will be resolved to the containing file.

Internal links point to targets in the current subtree that will be exported to the same Hugo post as the link source. To handle links to an :ID property, the org-id feature must first be loaded, either through org-customize or by adding (require 'org-id) in your Emacs init file.

Cross-post links crosspost-links #

Cross-post links are internal links pointing to targets in a different subtree that will be exported to another Hugo post than the link source in subtree-based exports. The Hugo’s ref and relref shortcodes only supports anchors to headings, so links to a heading, a :CUSTOM_ID property, or an :ID property will be resolved to the appropriate location in the linked file, but links to targets will be resolved to the containing post.

Internal target #


Page (Debug)

Page VariableValue
Name "Links outside the same post"
Title "Links outside the same post"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/links-outside-the-same-post/"
RelPermalink "/posts/links-outside-the-same-post/"
Data
page.Data{} (type:page.Data)
NextPageLink to headings by name
PrevPageLinks to equations
NextInSectionLink to headings by name
PrevInSectionLinks to equations

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-03-17 10:07:17 -0400 -0400
tags[]string "links"
titlestring "Links outside the same post"

File Object (Debug)

FileInfo VariableValue
UniqueID "8780ed88545cc9fd034c54b9843503a2"
BaseFileName "links-outside-the-same-post"
TranslationBaseName "links-outside-the-same-post"
Lang "en"
Section "posts"
LogicalName "links-outside-the-same-post.md"
Dir "posts/"
Ext "md"
Path "posts/links-outside-the-same-post.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]