updated tag search

This commit is contained in:
Clevetop 2024-07-30 12:57:40 +10:00
parent 336984ad91
commit a9f2194444

View file

@ -3,13 +3,14 @@
<a href="/"><-- Return Home</a> <a href="/"><-- Return Home</a>
<h1>Tom's Blog</h1> <h1>Tom's Blog</h1>
<p>Tag Search: <p class="no-margin" v-if="qSupplied">Selected Tag: <strong>{{query}}</strong> <a v-if="qSupplied" href="blog-index">(Clear Search)</a></p>
<a v-if="qSupplied" href="blog-index">Clear Search</a> - <p class="no-margin">Tag Search:
<a href="blog-index?tag=Programming">Programming</a> - <a href="blog-index?tag=Programming">Programming</a> -
<a href="blog-index?tag=GameDev">Game Dev</a> - <a href="blog-index?tag=GameDev">Game Dev</a> -
<a href="blog-index?tag=Queer">Queer Stuff</a> <a href="blog-index?tag=Queer">Queer Stuff</a>
</p> </p>
<hr>
<TextCard v-for="post in data" <TextCard v-for="post in data"
:key="post.id" :key="post.id"
:href="post._path" :href="post._path"
@ -49,6 +50,10 @@
align-items: center; align-items: center;
padding: 2rem; padding: 2rem;
margin-top: 3.5rem; margin-top: 3.5rem;
gap: 2rem; gap: 0rem;
}
.no-margin{
margin: 0
} }
</style> </style>