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

Post Functionality #5

Open
maektwain opened this issue Apr 27, 2020 · 15 comments
Open

Post Functionality #5

maektwain opened this issue Apr 27, 2020 · 15 comments
Assignees
Labels
in process Issue is being worked on

Comments

@maektwain
Copy link

No description provided.

@tacitonic tacitonic self-assigned this May 10, 2020
@tacitonic
Copy link
Contributor

Working on blog post functionality

@tacitonic tacitonic added the in process Issue is being worked on label May 10, 2020
@theupscale
Copy link

theupscale commented May 10, 2020 via email

@maektwain
Copy link
Author

Hey , How are you doing ? with the task.

@tacitonic
Copy link
Contributor

I'm having issues assigning parameters like title, content, etc. to the respective values in the stack theme. I have pushed the layouts that are to be used @maektwain

@maektwain
Copy link
Author

I think you need to define , the post layout did you do it ?

@maektwain
Copy link
Author

You have to create the post layout in the layout section and then put the theme there and then use

{% page.title %}

@tacitonic
Copy link
Contributor

Post layout is defined. There are other values than page.title as well

@theupscale
Copy link

theupscale commented May 20, 2020 via email

@tacitonic
Copy link
Contributor

I could implement a basic post layout and I have pushed it as of now.
But I'll need time for integrating a complex layout.

@theupscale
Copy link

theupscale commented May 20, 2020 via email

@tacitonic
Copy link
Contributor

This is the template in stack that I'm thinking can be used for blog post page. It lists the posts categorically.

variant-blog-list-simple

And this is the template for the post itself.

variant-blog-article-simple

So, as this template has multiple components, I'm unable to integrate Jekyll and these components. Could you help with this @maektwain ?

@maektwain
Copy link
Author

Which components are you referring to? I think Jekyll support few times start with?

@maektwain
Copy link
Author

I can confirm Jekyll support

Title, tags, images and content 😊

Let me know if you are facing an issue with the code convention?

@maektwain
Copy link
Author

---
layout: default
---
<div class="post">

  <header class="post-header">
    <h1 class="post-title">{{ page.title }}</h1>
  </header>

  <article class="post-content">
    {{ content }}
  </article>

</div>

@tacitonic
Copy link
Contributor

tacitonic commented May 20, 2020

Let me know if you are facing an issue with the code convention?

Yes, I'm having difficulties in the template code convention specifically. I have commented out the html in _layouts/post.html and /blog.html. It is causing more problems when I implement by this method.

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

No branches or pull requests

3 participants