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

Markdownify description and show link only when isset #179

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

i-sanyam
Copy link

@i-sanyam i-sanyam commented Nov 10, 2022

In list.html

if description is not set in params of the blog .md file, then trimmed raw content is displayed. The trimmed raw content is in markdown and can have special characters that will then show unformatted in the description. Thus adding a pipe operator and mardownifyto fix it.

In single.html

in the blog post, show the link only when link is set in params in .md blog file.

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.

1 participant