mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-10 05:11:22 +00:00
22 lines
490 B
Markdown
22 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=="
|
|
```
|