opentreasury / ltcim

https://bitrupee.net
5 stars 2 forks source link

Post Functionality #5

Open maektwain opened 4 years ago

tacitonic commented 4 years ago

Working on blog post functionality

theupscale commented 4 years ago

Wonderful

On Sun, 10 May 2020, 14:32 Atharva Dhekne, notifications@github.com wrote:

Working on blog post functionality

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/muellners/ltcim/issues/5#issuecomment-626296027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVGJODTO7FIUROGUUVHB3RQZUTLANCNFSM4MRTNYPA .

maektwain commented 4 years ago

Hey , How are you doing ? with the task.

tacitonic commented 4 years ago

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 commented 4 years ago

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

maektwain commented 4 years ago

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

{% page.title %}
tacitonic commented 4 years ago

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

theupscale commented 4 years ago

What kind of values you are talking about.?

On Wed, 20 May 2020, 17:37 Atharva Dhekne, notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/muellners/ltcim/issues/5#issuecomment-631432464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVGJPA4XIBQGT5T2FZ22LRSPBWJANCNFSM4MRTNYPA .

tacitonic commented 4 years ago

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 commented 4 years ago

What do you mean by complex layout?

On Wed, 20 May 2020, 18:07 Atharva Dhekne, notifications@github.com wrote:

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.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/muellners/ltcim/issues/5#issuecomment-631446554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVGJMAVZACS63HKU7W6ATRSPFHPANCNFSM4MRTNYPA .

tacitonic commented 4 years ago

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 commented 4 years ago

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

maektwain commented 4 years ago

I can confirm Jekyll support

Title, tags, images and content 😊

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

maektwain commented 4 years ago
---
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 commented 4 years ago

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.