mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-21 11:10:07 +00:00
docs: #850
This commit is contained in:
parent
d11139ac93
commit
08d2484fa5
2 changed files with 15 additions and 1 deletions
|
@ -4,3 +4,17 @@ description = "How to link to pages and resources"
|
|||
title = "Pages & Resources"
|
||||
weight = 1
|
||||
+++
|
||||
|
||||
## Standard Links
|
||||
|
||||
The usual way to link to a page or a resource is to use a Markdown link in the form of `[some page](a-page)` or `![some image](an-image)`.
|
||||
|
||||
Images are searched in the resources of the current page and your global `assets` directory.
|
||||
|
||||
## Links to Other Page Translations
|
||||
|
||||
By giving the query parameter `lang`, containing the language code, you can link to pages of other translations of your site, e.g. `[some translated page](my-page?lang=pir)`.
|
||||
|
||||
## Links to Other Page Output Formats
|
||||
|
||||
You can link to different output formats of a page by adding the query parameter `format`. For example to link to the print format of a page, write `[a printable page](my-page?format=print)`.
|
||||
|
|
|
@ -1 +1 @@
|
|||
7.3.2+a8dfe51e9dfc6443734ddf0a0f1efe36e4aaa6f3
|
||||
7.3.2+d11139ac93113533dbab21f36ac6876c85377117
|
Loading…
Add table
Reference in a new issue