remove sub module theme and add our own theme
This commit is contained in:
3
themes/tse/layouts/shortcodes/contact_list.html
Normal file
3
themes/tse/layouts/shortcodes/contact_list.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{ range .Site.Params.contacts }}
|
||||
<p><i class="{{ .icon }}"></i> <a href="{{ .url | safeURL }}">{{ .value }}</a></p>
|
||||
{{ end }}
|
||||
1
themes/tse/layouts/shortcodes/email.html
Normal file
1
themes/tse/layouts/shortcodes/email.html
Normal file
@@ -0,0 +1 @@
|
||||
{{ .Site.Params.contact.email }}
|
||||
1
themes/tse/layouts/shortcodes/extlink.html
Normal file
1
themes/tse/layouts/shortcodes/extlink.html
Normal file
@@ -0,0 +1 @@
|
||||
{{ with .Get "href" }}<a href="{{ . }}" target="_blank">{{ end }}{{ with .Get "icon" }}<i class="{{ . }}"></i> {{ end }}{{ with .Get "text" }}{{ . }}</a>{{ end }}
|
||||
5
themes/tse/layouts/shortcodes/icon.html
Normal file
5
themes/tse/layouts/shortcodes/icon.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{ if .Get "brand" }}
|
||||
{{ with .Get "name" }}<i class="fa-brands fa-{{ . }}"></i>{{ end }}
|
||||
{{ else }}
|
||||
{{ with .Get "name" }}<i class="fa fa-{{ . }}"></i>{{ end }}
|
||||
{{ end }}
|
||||
1
themes/tse/layouts/shortcodes/phone.html
Normal file
1
themes/tse/layouts/shortcodes/phone.html
Normal file
@@ -0,0 +1 @@
|
||||
{{ .Site.Params.contact.phone }}
|
||||
2
themes/tse/layouts/shortcodes/rawhtml.html
Normal file
2
themes/tse/layouts/shortcodes/rawhtml.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<!-- raw html -->
|
||||
{{.Inner}}
|
||||
Reference in New Issue
Block a user