aboutsummaryrefslogtreecommitdiffstats
path: root/english/devel
diff options
context:
space:
mode:
authorThomas Lange <lange@debian.org>2023-10-15 15:07:50 +0200
committerThomas Lange <lange@debian.org>2023-10-15 15:07:50 +0200
commitb2595631761ec70fe18145ffa27080c0d5a5dd69 (patch)
tree09004bd577fba92b72fb6b999d2769d1a885d4e6 /english/devel
parentd3f8e5a80e17ede3b0af302c395ff45c59cdd4a5 (diff)
add info how to use variables, Closes: #757943
Diffstat (limited to 'english/devel')
-rw-r--r--english/devel/website/htmlediting.wml7
1 files changed, 7 insertions, 0 deletions
diff --git a/english/devel/website/htmlediting.wml b/english/devel/website/htmlediting.wml
index 558787af8bf..fccf447fc3d 100644
--- a/english/devel/website/htmlediting.wml
+++ b/english/devel/website/htmlediting.wml
@@ -135,6 +135,13 @@ time. The <code>alt</code> attribute should contain something that tells users b
with lynx and blind people what is in the image.
</p>
+<toc-add-entry name="links">Links</toc-add-entry>
+<p>
+If you intend to link to a page within <code>https://www.debian.org</code> in the
+documentation, please use variables defined in the <code>.wmlrc</code> file for each language. For e.g. the URL in the tag <br />
+<code>&lt;a href="https://www.debian.org/devel/website/htmlediting"&gt;htmlediting&lt;/a&gt;</code><br />
+should be replaced using the variable <tt>DEVEL</tt> like this <code>&lt;a href="&#36;(DEVEL)/website/htmlediting"&gt;htmlediting&lt;/a&gt;</code>.
+</p>
# <toc-add-entry name=""></toc-add-entry>

© 2014-2024 Faster IT GmbH | imprint | privacy policy