diff --git a/assets/base.scss b/assets/base.scss index bd0b6091..f50e9cc9 100644 --- a/assets/base.scss +++ b/assets/base.scss @@ -128,9 +128,6 @@ td, th { article a { font-family: Source Sans Pro; font-weight: 600; - text-decoration: underline; - text-decoration-color: var(--tertiary); - text-decoration-thickness: .15em; } sup > a { @@ -191,10 +188,11 @@ hr { } // internal link -a[href^="/"] { +a[href^="./"] { text-decoration: none; - background-color: #afbfc922; + background-color: #afbfc933; padding: 0 0.2em; + font-weight: 600; border-radius: 3px; } @@ -370,4 +368,4 @@ header { } } } -} \ No newline at end of file +} diff --git a/content/_index.md b/content/_index.md index d9815914..5f2e2671 100644 --- a/content/_index.md +++ b/content/_index.md @@ -15,4 +15,4 @@ Not convinced yet? Look at some [community digital gardens](moc/showcase) built ## Troubleshooting - 🚧 [Troubleshooting and FAQ](notes/troubleshooting.md) -- 🐛 [Submit an Issue](https://github.com/jackyzha0/quartz/issues) \ No newline at end of file +- 🐛 [Submit an Issue](https://github.com/jackyzha0/quartz/issues) diff --git a/layouts/partials/backlinks.html b/layouts/partials/backlinks.html index 744f7e36..9020bf7e 100644 --- a/layouts/partials/backlinks.html +++ b/layouts/partials/backlinks.html @@ -4,13 +4,14 @@ {{$host := strings.TrimRight "/" $url.Path }} {{$curPage := strings.TrimPrefix $host (strings.TrimRight "/" .Page.RelPermalink) }} {{$inbound := index $.Site.Data.linkIndex.index.backlinks $curPage}} + {{$contentTable := $.Site.Data.contentIndex}} {{if $inbound}} {{- range $inbound -}} {{$src := index . "source"}} {{$src = replace $src " " "-"}}