Simulate background-clip: text for browsers that don't support it
Move the heading generating to a partial that iteratively wraps each character of the heading in a <span>. The CSS for the site heading uses :nth-child to color each span a different color.
This commit is contained in:
parent
0e81f019a7
commit
fc35499d6c
5 changed files with 31 additions and 4 deletions
1
layouts/partials/site_name.html
Normal file
1
layouts/partials/site_name.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ range (split . "") }}<span>{{ . }}</span>{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue