mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-31 04:58:14 +00:00
16 lines
403 B
SCSS
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;
|
|
}
|