diff options
| -rw-r--r-- | _posts/2026-11-02-my-certification.html (renamed from _posts/2026-11-02-my-certification.md) | 98 |
1 files changed, 50 insertions, 48 deletions
diff --git a/_posts/2026-11-02-my-certification.md b/_posts/2026-11-02-my-certification.html index abcebee..ee42839 100644 --- a/_posts/2026-11-02-my-certification.md +++ b/_posts/2026-11-02-my-certification.html @@ -224,17 +224,20 @@ highlights: src: "/assets/nptel.webp" --- -<table style="width:100%"> +<table style="width: 100%"> <tbody> {% for highlight in page.highlights %} - <tr> - <td>{% if highlight.url %}<a href="{{ highlight.url }}">{{ highlight.title }}</a>{% else %}{{ highlight.title }}{% endif %}</td> - <td style="text-align:right"> - {%- for badge in highlight.badges %} - {% include 88x31.html url=highlight.url image=badge.src alt=badge.alt %} - {% endfor -%} - </td> - </tr> + <tr> + <td> + {% if highlight.url %}<a href="{{ highlight.url }}" + >{{ highlight.title }}</a + >{% else %}{{ highlight.title }}{% endif %} + </td> + <td style="text-align: right"> + {%- for badge in highlight.badges %} {% include 88x31.html + url=highlight.url image=badge.src alt=badge.alt %} {% endfor -%} + </td> + </tr> {% endfor %} </tbody> </table> @@ -250,59 +253,58 @@ highlights: background: #3b3218; color: #fff4c2; outline-color: #d6b94c; - } + } } </style> -<div style="height:2rem"></div> +<div style="height: 2rem"></div> <details> -<summary>All Certificates</summary> + <summary>All Certificates</summary> -<table style="width:100%;padding-top:1em"> - <tbody> - {% for group in page.certificates %} + <table style="width: 100%; padding-top: 1em"> + <tbody> + {% for group in page.certificates %} <!-- Platform Logo Header --> <tr> - <td colspan="2">{% unless forloop.first %}<br/>{% endunless %} - {% include 88x31.html image=group.image alt=group.platform %} + <td colspan="2"> + {% unless forloop.first %}<br />{% endunless %} {% include 88x31.html + image=group.image alt=group.platform %} </td> </tr> <!-- Individual Courses/Certificates --> {% for item in group.items %} - <tr id="{{ item.title | slugify }}"> - <td> - {% if item.url %} - <a href="{{ item.url }}">{{ item.title }}</a> - {% else %} - {{ item.title }} - {% endif %} - </td> - <td style="text-align:right;vertical-align:top;text-wrap:nowrap">{{ item.year }}</td> - </tr> - {% endfor %} - {% endfor %} - - </tbody> -</table> + <tr id="{{ item.title | slugify }}"> + <td> + {% if item.url %} + <a href="{{ item.url }}">{{ item.title }}</a> + {% else %} {{ item.title }} {% endif %} + </td> + <td style="text-align: right; vertical-align: top; text-wrap: nowrap"> + {{ item.year }} + </td> + </tr> + {% endfor %} {% endfor %} + </tbody> + </table> -<style> - details { - background: var(--color-background-primary); - border: 1px solid var(--color-border-primary); - padding: 1ex; - } - table a { - text-decoration: none; - } - @media (prefers-color-scheme: dark) { + <style> details { - background: var(--color-background-primary); - border-color: var(--color-border-primary); - } - } -</style> + background: var(--color-background-primary); + border: 1px solid var(--color-border-primary); + padding: 1ex; + } + table a { + text-decoration: none; + } + @media (prefers-color-scheme: dark) { + details { + background: var(--color-background-primary); + border-color: var(--color-border-primary); + } + } + </style> </details> -<div style="height:2rem"></div> +<div style="height: 2rem"></div> |