content: Consolidate configuration documentation

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-03-05 04:50:06 -08:00
1 parent 727ef6f665
commit b6cae5cbc6
911 files changed
+10902 -11171

No files matched your search

+9 -8
View File
@@ -3,14 +3,17 @@ title: RelPermalink
description: Publishes the given resource and returns its relative permalink.
categories: []
keywords: []
action:
related:
- methods/resource/Permalink
- methods/resource/Publish
returnType: string
signatures: [RESOURCE.RelPermalink]
params:
functions_and_methods:
related:
- methods/resource/Permalink
- methods/resource/Publish
returnType: string
signatures: [RESOURCE.RelPermalink]
---
{{% include "/_common/methods/resource/global-page-remote-resources.md" %}}
The `Permalink` method on a `Resource` object writes the resource to the publish directory, typically `public`, and returns its [relative permalink](g).
```go-html-template
@@ -18,5 +21,3 @@ The `Permalink` method on a `Resource` object writes the resource to the publish
{{ .RelPermalink }} → /images/a.jpg
{{ end }}
```
{{% include "methods/resource/_common/global-page-remote-resources.md" %}}