Skip to content

Commit

Permalink
tweak to category and tags pages
Browse files Browse the repository at this point in the history
  • Loading branch information
garywoodfine committed Jan 13, 2021
1 parent fdd943d commit e676280
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/templates/Category.vue
Expand Up @@ -5,17 +5,17 @@
<div
class="max-w-xl md:max-w-3xl xl:max-w-4xl flex flex-col-reverse mx-auto text-center px-6 pt-24 pb-10 md:py-32 border-b border-gray-300"
>
<p class="text-gray-700 leading-normal">
<p class="dark:text-gray-100 text-gray-700 leading-normal">
{{ $page.category.belongsTo.totalCount }} posts in total
</p>
<h1
class="text-4xl sm:text-5xl md:text-6xl font-sans font-bold mb-2 capitalize"
class="dark:text-gray-100 text-4xl sm:text-5xl md:text-6xl font-sans font-bold mb-2 capitalize"
>
{{ titleCase($page.category.title) }}
</h1>
<svg
aria-labelledby="tagIcon"
class="w-5 sm:w-6 fill-current text-gray-500 mx-auto mb-1"
class="dark:text-gray-100 w-5 sm:w-6 fill-current text-gray-500 mx-auto mb-1"
role="img"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
Expand Down
8 changes: 4 additions & 4 deletions src/templates/Tag.vue
@@ -1,5 +1,5 @@
<template>
<post-layout>
<home-layout>
<template #left-side-bar>
<home-side-nav></home-side-nav>
</template>
Expand All @@ -8,11 +8,11 @@
<div
class="max-w-xl md:max-w-3xl xl:max-w-4xl flex flex-col-reverse mx-auto text-center px-6 pt-24 pb-10 md:py-32 border-b border-gray-300"
>
<p class="text-gray-700 leading-normal">
<p class="dark:text-gray-100 text-gray-700 leading-normal">
{{ $page.tag.belongsTo.totalCount }} posts in total
</p>
<h1
class="text-4xl sm:text-5xl md:text-6xl font-sans font-bold mb-2 capitalize"
class="dark:text-gray-100 text-4xl sm:text-5xl md:text-6xl font-sans font-bold mb-2 capitalize"
>
{{ titleCase($page.tag.title) }}
</h1>
Expand All @@ -38,7 +38,7 @@
/>
</section>
</template>
</post-layout>
</home-layout>
</template>

<script>
Expand Down

0 comments on commit e676280

Please sign in to comment.