This works **only for links TO per-file export flow Org files**. - The linked files must not have a custom `#+export_file_name` set. - The linked files should not be page bundles. This commit implemented very basic cross-linking support as per the spec in https://github.com/kaushalmodi/ox-hugo/issues/131. So the page bundle names, section names, export file names, etc set within the Org file are not resolved.master
parent
d019548f68
commit
4ddc010a92
7 changed files with 132 additions and 8 deletions
@ -0,0 +1,10 @@ |
||||
#+title: Post with slug |
||||
#+author: |
||||
|
||||
#+hugo_base_dir: ../../ |
||||
#+hugo_section: singles |
||||
#+hugo_tags: single slug |
||||
#+hugo_slug: post-with-slug-xyz |
||||
|
||||
This post is exported to =post-with-slug.md=, but it has slug set to |
||||
=post-with-slug-xyz=. |
||||
@ -0,0 +1,9 @@ |
||||
+++ |
||||
title = "Post with slug" |
||||
slug = "post-with-slug-xyz" |
||||
tags = ["single", "slug"] |
||||
draft = false |
||||
+++ |
||||
|
||||
This post is exported to `post-with-slug.md`, but it has slug set to |
||||
`post-with-slug-xyz`. |
||||
Loading…
Reference in new issue