Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close post.vto mastodon-comments aside inside if #34

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

rdela
Copy link
Contributor

@rdela rdela commented Dec 29, 2024

before

  {{ if comments?.src || comments?.bluesky }}
  <aside class="comments-section">
    <header class="comments-header">
      <h2>{{ i18n.comments.title }}</h2>
      {{ if comments.bluesky && comments.src }}
      <p>{{ i18n.comments.description_all.replace(":src:", comments.src).replace(":bluesky:", comments.bluesky) }}</p>
      {{ else if comments.src }}
      <p>{{ i18n.comments.description.replace(":src:", comments.src) }}</p>
      {{ else }}
      <p>{{ i18n.comments.description_bluesky.replace(":bluesky:", comments.bluesky) }}</p>
      {{ /if }}
    </header>
    <mastodon-comments bluesky="{{ it.comments.bluesky}}" mastodon="{{ it.comments.src }}" cache="{{ it.comments.cache ?? 60 }}" class="comments">
      {{ i18n.comments.empty }}
    </mastodon-comments>
  {{ /if }}
  </aside>

after

  {{ if comments?.src || comments?.bluesky }}
  <aside class="comments-section">
    <header class="comments-header">
      <h2>{{ i18n.comments.title }}</h2>
      {{ if comments.bluesky && comments.src }}
      <p>{{ i18n.comments.description_all.replace(":src:", comments.src).replace(":bluesky:", comments.bluesky) }}</p>
      {{ else if comments.src }}
      <p>{{ i18n.comments.description.replace(":src:", comments.src) }}</p>
      {{ else }}
      <p>{{ i18n.comments.description_bluesky.replace(":bluesky:", comments.bluesky) }}</p>
      {{ /if }}
    </header>
    <mastodon-comments bluesky="{{ it.comments.bluesky}}" mastodon="{{ it.comments.src }}" cache="{{ it.comments.cache ?? 60 }}" class="comments">
      {{ i18n.comments.empty }}
    </mastodon-comments>
  </aside>
  {{ /if }}

@rdela
Copy link
Contributor Author

rdela commented Dec 29, 2024

Just force pushed to fix unverified/missing gpg signature

@oscarotero oscarotero merged commit 681c744 into lumeland:main Dec 30, 2024
@oscarotero
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants