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

First lines of text appear on top(?) #701

Closed
3 tasks done
Natenom opened this issue Sep 12, 2022 · 1 comment · Fixed by #702
Closed
3 tasks done

First lines of text appear on top(?) #701

Natenom opened this issue Sep 12, 2022 · 1 comment · Fixed by #702
Labels
bug Something isn't working

Comments

@Natenom
Copy link
Contributor

Natenom commented Sep 12, 2022

Prerequisites

Describe the issue

If there is no more tag within a blog post, the first lines appear twice.

Steps to reproduce

Here a screenshot:
image

When I add the more tag OR checkout 13a9124 of your theme, it works again:
image

Expected behavior

Not to double the first lines.

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome, Firefox

What version of theme are you using?

7b40de4 (HEAD -> master, origin/master, origin/HEAD) feat(rss): add custom RSS template (#697)

What version of Hugo are you using?

hugo v0.102.3+extended linux/amd64 BuildDate=2022-09-01T15:30:07Z VendorInfo=debian:0.102.3-1

What version of Node.js are you using?

v18.7.0

What version of Git are you using?

git version 2.35.1

Additional context

This is the blogs source code if you want to test:

---
title: Testing Theme
slug: testing-theme
date: 2022-09-06T00:51:23+02:00
draft: false
author: Natenom
#description:
categories:
  -
tags:
  -
---

## This is a Test
La1 la1 plum1 foo1 bar1 bla1.

La2 la2 plum2 foo2 bar2 bla2.

Without a more tag.

## Another h2
This is h2 content.
@Natenom Natenom added the bug Something isn't working label Sep 12, 2022
razonyang added a commit that referenced this issue Sep 12, 2022
razonyang added a commit that referenced this issue Sep 12, 2022
@razonyang
Copy link
Owner

razonyang commented Sep 12, 2022

Should be fixed by #702, btw, non-manual summaries(without <!--more-->) doesn't work with post.readMoreFromContent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants