-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #11 Fixed the tag page not rendering properly. It was a problem with the pagination value. Also fixed the title of the page not changing using the title property.
- Loading branch information
Showing
4 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,11 @@ | |
<link href="https://unpkg.com/[email protected]/themes/prism-okaidia.css" rel="stylesheet"> | ||
<script async defer data-website-id="3b2361f7-42d6-4950-ade3-6b0b6200426a" | ||
src="https://umami.bullrich.dev/script.js" data-domains="codingbull.dev"></script> | ||
{% if title %} | ||
<title>{{ title }} - Coding Bull</title> | ||
{% else %} | ||
<title>Coding Bull</title> | ||
{% endif %} | ||
{% if image %} | ||
<meta property="og:image" content="{{ image }}"> | ||
<meta name="twitter:image" content="{{ image }}"> | ||
|
@@ -29,7 +33,7 @@ | |
</head> | ||
|
||
<body> | ||
<main tabindex="-1" id="main-content">{% block content %}{% endblock %}</main> | ||
<main tabindex="-1" id="main-content" class="mb-4 lg:mb-12">{% block content %}{% endblock %}</main> | ||
{% include "partials/footer.html" %} | ||
{% mermaid_js %} | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
--- | ||
layout: "feed.html" | ||
eleventyImport: | ||
collections: ["tags"] | ||
pagination: | ||
data: collections | ||
size: 100 | ||
size: 1 | ||
alias: tag | ||
permalink: /tags/{{ tag }}/ | ||
description: Find all the posts with the tag. | ||
eleventyComputed: | ||
title: Tagged with "{{ tag }}" | ||
description: Find all the posts with the tag "{{ tag }}" | ||
--- | ||
|
||
# Posts using <span class="tag bg-base-300 hover:bg-primary rounded-xl py-1 px-3">#{{ tag }}</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters