Skip to content

Commit

Permalink
fix: Broken Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed May 4, 2024
1 parent a53a959 commit 8bdbaa2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
15 changes: 12 additions & 3 deletions components/BlogFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@
<h2>Comments</h2>
<p>
If you have any questions or comments about this post, please feel free to
leave a comment <span v-if="frontmatter.comments === 'giscus'">below</span
><span v-if="frontmatter.comments === 'activitypub'"
>on <a :href="frontmatter.posts">this post</a></span
leave a comment
<span
style="display: inline-block"
v-if="frontmatter.comments === 'giscus'"
>below</span
><span
style="display: inline-block"
v-if="frontmatter.comments === 'activitypub'"
>on
<a :href="frontmatter.post" style="display: inline-block"
>this post</a
></span
>.
</p>

Expand Down
4 changes: 2 additions & 2 deletions components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { theme } = useData();
</script>

<template>
<footer>
<footer id="footer">
<a
style="margin: 16px; display: block"
v-if="theme.footer.sourcecode?.show"
Expand Down Expand Up @@ -42,7 +42,7 @@ const { theme } = useData();

<style lang="scss">
footer {
#footer {
position: relative;
bottom: 0;
max-width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aplos",
"version": "1.4.0-3",
"version": "1.4.0-4",
"type": "module",
"description": "A sleek, contemporary, and purposefully designed VitePress theme",
"main": "index.ts",
Expand Down

0 comments on commit 8bdbaa2

Please sign in to comment.