diff --git a/assets/styles/sections/publications.scss b/assets/styles/sections/publications.scss index ae7607926..e666b3af7 100644 --- a/assets/styles/sections/publications.scss +++ b/assets/styles/sections/publications.scss @@ -24,6 +24,14 @@ float: right !important; } } + + a[href] { + text-decoration: underline; /* Underline only when href is present */ + } + + a:not([href]) { + text-decoration: none; /* No underline when href is absent */ + } } .card-body { diff --git a/layouts/partials/cards/publication.html b/layouts/partials/cards/publication.html index 2c238e139..6bf3b896d 100644 --- a/layouts/partials/cards/publication.html +++ b/layouts/partials/cards/publication.html @@ -11,12 +11,22 @@