Forum Discussion

qinglau's avatar
qinglau
Mentor
11 years ago

Best practices for developmenet Blog pages

Hi All ,

 

We are going to build a custom blog soon. Based on the visual design so far,  we will need to build 3 custom pages; Blog home page, blog category page and blog article page. 

 

These pages will have the same sidebar and top banner part. We are thinking what the best practise is to develop. We have two options in mind: 

 

1.  Create 3 pages load the sidebar and top banner in 3 pages. 

2.  Build a template which contain same bar and top banner, and nested 3 custom pages inside the template page. 

 

We are wondering which way is the best practise nowsday. 

 

Thank you. 


Cheers,
Qing 

  • Hi Qing,

    I think the first options is the easiest one as then you can leverage Lithium studio for creating the page layout. You would start from the default Lithium Blog pages. The sidebar and top banner would be custom components that you can then simply add to the layout of each of these pages.

  • Hi Qing,

    I think the first options is the easiest one as then you can leverage Lithium studio for creating the page layout. You would start from the default Lithium Blog pages. The sidebar and top banner would be custom components that you can then simply add to the layout of each of these pages.

  • If you use the same page layout on all pages, that should make it easy to keep the common sections looking the same.

     

    If you have a collection of components that are common to all pages, you can create embeddable sub pages, and include that on each blog page. This is how the header generally works.