mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-17 06:51:00 +00:00
Docs: fix typo in template function section
This commit is contained in:
parent
c5a4c07b89
commit
a5bd101d27
1 changed files with 1 additions and 3 deletions
|
@ -715,6 +715,4 @@ responses of APIs.
|
|||
{{ $resp := getJSON "https://api.github.com/repos/spf13/hugo/readme" }}
|
||||
{{ $resp.content | base64Decode | markdownify }}
|
||||
|
||||
The response of the Github API contains the base64-encoded version of the [README.md](https://github.com/spf13/hugo/blob/master/README.md) in the Hugo repository.
|
||||
Now we can decode it and parse the Markdown. The final output will look similar to the
|
||||
rendered version in Github.
|
||||
The response of the Github API contains the base64-encoded version of the [README.md](https://github.com/spf13/hugo/blob/master/README.md) in the Hugo repository. Now we can decode it and parse the Markdown. The final output will look similar to the rendered version on Github.
|
||||
|
|
Loading…
Reference in a new issue