Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/button.html')
-rw-r--r--layouts/shortcodes/button.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html
index 75f0006..2b8246a 100644
--- a/layouts/shortcodes/button.html
+++ b/layouts/shortcodes/button.html
@@ -1,7 +1,5 @@
<!-- Boutton -->
-<link rel="stylesheet" type="text/css" href='{{ (resources.Get "sass/shortcodes/button.scss" | toCSS).Permalink }}'>
{{ with .Get "align" }}<center>{{end}}
-<button class="btn {{with .Get "theme"}}{{.}}{{else}}primary{{end}}" type="button" {{ with .Get "href" }} onclick="location.href='{{.}}'"{{end}} {{ if .Get "ref" }} onclick="location.href='{{relref . (.Get "ref") }}'"{{end}}>{{.Inner | markdownify}}</button>
+<button type="button" class="btn {{with .Get "theme"}}btn-{{.}}{{else}}btn-primary{{end}}" {{ with .Get "href" }} onclick="location.href='{{.}}'"{{end}} {{ if .Get "ref" }} onclick="location.href='{{relref . (.Get "ref") }}'"{{end}}>{{.Inner | markdownify}}</button>
{{ with .Get "align" }}</center>{{end}}
-
<!-- Boutton --> \ No newline at end of file