From aa2fc944174bc8930d3d7cca2b46aeed0a986bd4 Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Thu, 5 Sep 2024 10:52:14 +0530 Subject: [PATCH] Fix OSHW mark --- _templates/oshw.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_templates/oshw.html b/_templates/oshw.html index a860642e..a601739b 100644 --- a/_templates/oshw.html +++ b/_templates/oshw.html @@ -7,7 +7,7 @@ <div class="card-body"> <p class="card-text text-dark"> <a href="https://certification.oshwa.org/{{ oshw_id|lower }}.html" target="_blank"> - {% if pages_slug %} + {% if docs_url %} <img src="{{docs_url}}/_static/images/oshw/{{board}}_{{oshw_id}}.svg" alt="{{board}} OSHW mark"/> {% else %} <img src="../../../../_static/images/oshw/{{board}}_{{oshw_id}}.svg" alt="{{board}} OSHW mark"/> -- GitLab