modified banner button target
This commit is contained in:
parent
b943dc7383
commit
c225f20d54
@ -13,7 +13,12 @@
|
|||||||
</p>
|
</p>
|
||||||
{{ with .button }}
|
{{ with .button }}
|
||||||
{{ if .enable }}
|
{{ if .enable }}
|
||||||
<a class="btn btn-primary" href="{{ .link | absURL }}">
|
<a
|
||||||
|
class="btn btn-primary"
|
||||||
|
href="{{ .link | absURL }}"
|
||||||
|
{{ if strings.HasPrefix .link `http` }}
|
||||||
|
target="_blank" rel="noopener"
|
||||||
|
{{ end }}>
|
||||||
{{ .label }}
|
{{ .label }}
|
||||||
<i class="fa fa-arrow-right pl-2"></i>
|
<i class="fa fa-arrow-right pl-2"></i>
|
||||||
</a>
|
</a>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hugoplate",
|
"name": "hugoplate",
|
||||||
"description": "hugo tailwindcss boilerplate",
|
"description": "hugo tailwindcss boilerplate",
|
||||||
"version": "1.11.1",
|
"version": "1.11.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user