Browse Source

refactor(help): update form urls to end in forward-slash

pull/149/head
Josh Habdas 2 years ago
parent
commit
1cc119d83d
Signed by: jhabdas GPG Key ID: B148B31154C75A74
5 changed files with 9 additions and 9 deletions
  1. +1
    -1
      docs/archetypes/validate.md
  2. +1
    -1
      docs/content/_index.md
  3. +1
    -1
      docs/content/feature/fuzzy-search.md
  4. +4
    -4
      docs/content/feature/post-images.md
  5. +2
    -2
      docs/content/shortcode/external.md

+ 1
- 1
docs/archetypes/validate.md View File

@ -4,7 +4,7 @@ description = "Complete the included form to validate the release."
noindex = true
+++
{{< hackcss-form name="validate" action="/validate" >}}
{{< hackcss-form name="validate" action="/validate/" >}}
{{< hackcss-formgroup name="integrity" >}}
{{< hackcss-label for="digest" >}}
<abbr title="Secure Hash Algorithm">SHA-512</abbr> Digest:

+ 1
- 1
docs/content/_index.md View File

@ -62,7 +62,7 @@ description = "After Dark is a complete hypermedia authoring system for the Hugo
<nav><p>
<a href="/feature/fuzzy-search">Fuzzy Search</a> |
<a href="/shortcode/form">Form Controls</a> |
<a href="/search?uzzy%20erch">Try It Now</a>
<a href="/search/?uzzy%20erch">Try It Now</a>
</p></nav>
</section>

+ 1
- 1
docs/content/feature/fuzzy-search.md View File

@ -10,7 +10,7 @@ todo = ["link to page layout"]
If a search engine can find it, so can you. Quickly locate indexable content site-wide with fuzzy search. No registration necessary.
{{< hackcss-card header="Interactive Example" >}}
<iframe scrolling="no" title="Error Page Example" width="100%" height="300" src="/search?s=uzzy%20searvh"></iframe>
<iframe scrolling="no" title="Error Page Example" width="100%" height="300" src="/search/?s=uzzy%20searvh"></iframe>
{{< /hackcss-card >}}
Adjust it from `_index.md` in the site `content/search` directory:

+ 4
- 4
docs/content/feature/post-images.md View File

@ -12,10 +12,10 @@ todo = [
Add visual appeal to your posts with post images. Post images appear above post content and leverage {{< external href="https://gohugo.io/content-management/image-processing/" text="Hugo Image Processing" />}} and [Lazy Loading](../lazy-loading) to provide fully automatic, lazy-loaded responsive images with <abbr title="Low-Quality Image Placeholders">LQIP</abbr> and built-in art direction.
{{< figure
src="https://source.unsplash.com/Y-w15LfHO8w/5184x3456"
lqipsrc="https://source.unsplash.com/Y-w15LfHO8w/1080x720"
caption="Be Creative"
attr="AK¥N Cakiner"
src="https://source.unsplash.com/Y-w15LfHO8w/1200x900"
lqipsrc="https://source.unsplash.com/Y-w15LfHO8w/800x600"
caption="Be Creative. Photo:"
attr="AK¥N Cakiner on Unsplash"
attrlink="https://unsplash.com/@akin"
>}}

+ 2
- 2
docs/content/shortcode/external.md View File

@ -72,11 +72,11 @@ With markdown image and link styling removed:
With interactive [Button](../button) to run a [Fuzzy Search](/feature/fuzzy-search):
```html
{{</* external rel="search" target="_self" href="/search?s=button" >}}
{{</* external rel="search" target="_self" href="/search/?s=button" >}}
{{< hackcss-button type="primary" text="Search" />}}
{{< /external */>}}
```
{{< external rel="search" target="_self" href="/search?s=button" >}}
{{< external rel="search" target="_self" href="/search/?s=button" >}}
{{< hackcss-button type="primary" text="Search" />}}
{{< /external >}}

Loading…
Cancel
Save