diff --git a/public/class-peptide-news-public.php b/public/class-peptide-news-public.php index 384205f..88a2bf1 100644 --- a/public/class-peptide-news-public.php +++ b/public/class-peptide-news-public.php @@ -130,13 +130,14 @@ class Peptide_News_Public { -

- ai_summary ) ? $article->ai_summary : $article->excerpt; - echo esc_html( $display_text ); - ?> -

+ ai_summary ) ? $article->ai_summary : ( $article->excerpt ?? '' ); + if ( ! empty( $display_text ) ) : ?> +

+ +

+ author ) ) : ?> diff --git a/public/css/public-style.css b/public/css/public-style.css index 737a51e..11fb011 100644 --- a/public/css/public-style.css +++ b/public/css/public-style.css @@ -121,6 +121,12 @@ color: #0073aa; } +.pn-article-title a:focus, +.pn-article-thumb a:focus { + outline: 2px solid #0073aa; + outline-offset: 2px; +} + /* ── Excerpt / AI summary ──────────────────────────────────────── */ .pn-article-excerpt { font-size: 0.875rem;