Skip to content

Commit

Permalink
👌 IMPROVE: Updated templates
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdevore committed Oct 2, 2024
1 parent d52a8f4 commit 86d9156
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<meta name="keywords" content="{% if seo_keywords %}{{ seo_keywords }}{% else %}SSG, Static Site Generator{% endif %}">
<meta name="author" content="{% if author %}{{ author }}{% else %}Robert DeVore{% endif %}">

<link href="/assets/css/tailwind.min.css" rel="stylesheet" rel="preload" media="print" onload="this.media='all'">
<link href="/assets/css/tailwind.min.css" rel="stylesheet preload" as="style">
{% if minify %}
<link rel="stylesheet" href="/assets/css/main.min.css" rel="preload">
<link href="/assets/css/main.min.css" rel="stylesheet preload" as="style">
{% else %}
<link rel="stylesheet" href="/assets/css/style.css" rel="preload">
<link rel="stylesheet" href="/assets/css/fonts.css" rel="preload">
<link href="/assets/css/style.css" rel="stylesheet preload" as="style">
<link href="/assets/css/fonts.css" rel="stylesheet preload" as="style">
{% endif %}

<!-- Alpine.js for interactive components -->
Expand Down
6 changes: 3 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<ul class="space-y-6">
{% for post in posts %}
<li>
<h3 class="text-4xl font-bold quicksand-700">
<h2 class="text-4xl font-bold quicksand-700">
<a href="{{ post.permalink }}" class="text-links hover:underline">{{ post.title }}</a>
</h3>
<p class="dark:text-gray-400">{{ post.excerpt | safe }}</p>
</h2>
<div class="dark:text-gray-400">{{ post.excerpt | safe }}</div>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit 86d9156

Please sign in to comment.