mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
23 lines
490 B
Markdown
23 lines
490 B
Markdown
|
---
|
||
|
title: encoding.Base64Encode
|
||
|
linkTitle: base64Encode
|
||
|
description: Returns the base64 decoding of the given content.
|
||
|
categories: [functions]
|
||
|
keywords: []
|
||
|
menu:
|
||
|
docs:
|
||
|
parent: functions
|
||
|
function:
|
||
|
aliases: [base64Encode]
|
||
|
returnType: string
|
||
|
signatures: [encoding.Base64Encode INPUT]
|
||
|
relatedFunctions:
|
||
|
- encoding.Base64Decode
|
||
|
- encoding.Base64Encode
|
||
|
aliases: [/functions/base64, /functions/base64Encode]
|
||
|
---
|
||
|
|
||
|
```go-html-template
|
||
|
{{ "Hugo" | base64Encode }} → "SHVnbw=="
|
||
|
```
|