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

Facing an Issue #30

Closed
owlsecco opened this issue Jan 29, 2021 · 4 comments
Closed

Facing an Issue #30

owlsecco opened this issue Jan 29, 2021 · 4 comments

Comments

@owlsecco
Copy link

owlsecco commented Jan 29, 2021

Hi, i like this theme, thank you for it.
I recently added notes to it but i am facing an issue.
I made a new archetype, a list and single, a new directory under content, notesSection.yml, notesSection.html.
Upon deploying my website, it displays my notes on the blog area while leaving the notes area blank, how can i make sure notes appear on the notesSection and not on the blogSection.
The page note renders the notes fine, my issue is in the homepage.
Kindly help me

and if you can also help me fix the notes image issue, making images in notes optional and displaying the full note instead of just the title. Tried adding {{ .content }} but it didn't work

@owlsecco owlsecco reopened this Jan 29, 2021
@juhair-cupcake
Copy link
Contributor

juhair-cupcake commented Jan 29, 2021

Your problem is not clear. I think if you want to create a new page or a new section, your data will be on "data/notesSection.yml"

On blogSection.html line 23 we used {{ range first 3 (where $.Site.RegularPages "Type" "!=" "portfolio") }} for telling show all file instead of portfolio you can change it with show only "==" blog, notes or whatever you want to show...

And I can't understand the problem without the code for image issue... It could be for absURL pipe or use {{ .Content }} instead of {{ .content }}

@stephenajulu
Copy link

Your problem is not clear. I think if you want to create a new page or a new section, your data will be on "data/notesSection.yml"

On blogSection.html line 23 we used {{ range first 3 (where $.Site.RegularPages "Type" "!=" "portfolio") }} for telling show all file instead of portfolio you can change it with show only "==" blog, notes or whatever you want to show...

And I can't understand the problem without the code for image issue... It could be for absURL pipe or use {{ .Content }} instead of {{ .content }}

Thank you let me try this, if it fails, I'll send a screenshot of my code and the page.

@owlsecco
Copy link
Author

I'll reopen this issue, if your advice fails, thank you very much. If it fails I'll send you the code and screenshot + how i would like it to render

@owlsecco
Copy link
Author

Thank you, your solution worked!
Thank you very much.
I now have a blog page for long form posts and a note page for short form posts.

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

No branches or pull requests

3 participants