This commit is contained in:
parent
656af4a884
commit
f0d099da8d
@ -14,7 +14,7 @@ const Backlinks: QuartzComponent = ({
|
|||||||
const backlinkFiles = allFiles.filter((file) => file.links?.includes(slug))
|
const backlinkFiles = allFiles.filter((file) => file.links?.includes(slug))
|
||||||
return backlinkFiles.length <= 0 ? null : (
|
return backlinkFiles.length <= 0 ? null : (
|
||||||
<div class={classNames(displayClass, "backlinks")}>
|
<div class={classNames(displayClass, "backlinks")}>
|
||||||
<h3>{i18n(cfg.locale).components.backlinks.title}</h3>
|
<h2>{i18n(cfg.locale).components.backlinks.title}</h2>
|
||||||
<ul class="overflow">
|
<ul class="overflow">
|
||||||
{backlinkFiles.map((f) => (
|
{backlinkFiles.map((f) => (
|
||||||
<li key={f.slug}>
|
<li key={f.slug}>
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
& > ul {
|
& > ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
|
|
||||||
& > li {
|
& > li {
|
||||||
|
@ -22,3 +22,7 @@ a.internal {
|
|||||||
background-color: #23252f33;
|
background-color: #23252f33;
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.backlinks>ul {
|
||||||
|
list-style: disc;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user