hugo-theme-more-contentful/assets/templates/site.scss
2022-10-24 13:56:06 +08:00

16 lines
403 B
SCSS

{{/*
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;
}