Use go-html-template code type

This commit is contained in:
Will Faught
2023-08-05 14:32:53 -07:00
parent 03604fd3ad
commit d3628e7c14
9 changed files with 118 additions and 118 deletions

View File

@@ -14,7 +14,7 @@ Paige provides a `paige/icon` shortcode for displaying a web font icon.
Code:
```go-text-template
```go-html-template
<p class="display-1">Icon: {{</* paige/icon class="bi bi-github" */>}}</p>
```
@@ -26,7 +26,7 @@ Result:
Code:
```go-text-template
```go-html-template
<p class="display-1">Icon: {{</* paige/icon class="bi bi-github" name="GitHub" */>}}</p>
```
@@ -38,7 +38,7 @@ Result:
Code:
```go-text-template
```go-html-template
<p class="display-1">Icon: {{</* paige/icon class="bi bi-github" url="https://github.com/willfaught/paige" */>}}</p>
```