File tree 4 files changed +20
-7
lines changed
4 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 10
10
< link href ="
https://unpkg.com/[email protected] /themes/prism-okaidia.css "
rel ="
stylesheet "
>
11
11
< script async defer data-website-id ="3b2361f7-42d6-4950-ade3-6b0b6200426a "
12
12
src ="https://umami.bullrich.dev/script.js " data-domains ="codingbull.dev "> </ script >
13
+ {% if title %}
14
+ < title > {{ title }} - Coding Bull</ title >
15
+ {% else %}
13
16
< title > Coding Bull</ title >
17
+ {% endif %}
14
18
{% if image %}
15
19
< meta property ="og:image " content ="{{ image }} ">
16
20
< meta name ="twitter:image " content ="{{ image }} ">
29
33
</ head >
30
34
31
35
< body >
32
- < main tabindex ="-1 " id ="main-content "> {% block content %}{% endblock %}</ main >
36
+ < main tabindex ="-1 " id ="main-content " class =" mb-4 lg:mb-12 " > {% block content %}{% endblock %}</ main >
33
37
{% include "partials/footer.html" %}
34
38
{% mermaid_js %}
35
39
</ body >
Original file line number Diff line number Diff line change @@ -8,12 +8,17 @@ <h3 class="text-4xl lg:text-6xl blog-title">{{ title }}</h3>
8
8
{{ content | safe }}
9
9
</ div >
10
10
< div >
11
- < h3 class ="text-4xl font-bold text-transparent bg-clip-text bg-gradient-to-tr from-accent to-base-content "> Tag list</ h3 >
11
+ < h3 class ="text-4xl font-bold text-transparent bg-clip-text bg-gradient-to-tr from-accent to-base-content ">
12
+ List of all available tags
13
+ </ h3 >
12
14
</ div >
13
- < ul class ="list-none space-y-3 mt-6 text-3xl ">
15
+
16
+ < ul class ="list-none space-y-8 mt-6 text-3xl ">
14
17
{% for tag in pagination.items %}
15
18
< li >
16
- < a class ="tag bg-base-300 hover:bg-primary rounded-xl py-1 px-3 " href ="{{ '/tags/' | url }}{{ tag }} "> #{{ tag }}</ a >
19
+ < a class ="tag bg-base-300 hover:bg-primary rounded-xl py-1 px-3 my-2 " href ="{{ '/tags/' | url }}{{ tag }} ">
20
+ #{{ tag }}
21
+ </ a >
17
22
</ li >
18
23
{% endfor %}
19
24
</ ul >
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : " feed.html"
3
+ eleventyImport :
4
+ collections : ["tags"]
3
5
pagination :
4
6
data : collections
5
- size : 100
7
+ size : 1
6
8
alias : tag
7
9
permalink : /tags/{{ tag }}/
8
- description : Find all the posts with the tag.
10
+ eleventyComputed :
11
+ title : Tagged with "{{ tag }}"
12
+ description : Find all the posts with the tag "{{ tag }}"
9
13
---
10
14
11
15
# Posts using <span class =" tag bg-base-300 hover:bg-primary rounded-xl py-1 px-3 " >#{{ tag }}</span >
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ pagination:
6
6
data : collections.tagList
7
7
size : 100
8
8
alias : tag
9
+ permalink : /tags/
9
10
---
10
- Find all the tags and search for posts based on that
You can’t perform that action at this time.
0 commit comments