hugo-theme-more-contentful/assets/templates/site.scss

16 lines
403 B
SCSS
Raw Normal View History

2022-10-24 05:31:41 +00:00
{{/*
This is a site-specific styling that have to be generated.
*/}}
/* Internal links are not to be styled. */
{{- $baseURL := urls.Parse $.Site.BaseURL }}
a[href]:where(
a[href^="http://{{- $baseURL.Host -}}"],
a[href^="https://{{- $baseURL.Host -}}"],
a[href$="{{- $baseURL.Host -}}"],
a[href$="{{- $baseURL.Host -}}/"],
a[href^="{{- $.Site.BaseURL -}}"],
)::after {
content: unset;
}