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

[Creation of new Page] How to create a new page #47

Open
jpradocueva opened this issue Sep 7, 2020 · 2 comments
Open

[Creation of new Page] How to create a new page #47

jpradocueva opened this issue Sep 7, 2020 · 2 comments
Assignees

Comments

@jpradocueva
Copy link
Contributor

jpradocueva commented Sep 7, 2020

In the index.markdown we describe a high-level our services using the e.g. block cards.

Each Service has a link to "See More or Learn More".
These are my questions:

  • How can I create that page?

    • Could you create a template for me for these type of pages?
      • e.g. called it page_template.markdown
      • what layout should I use?
      • What I mean by that is that a new page will have the header, footer, etc and then an area where I can add text, images, or even reusing the concept of the:
    • block,
    • block_text_image,
    • block_image_text
    • block_text
    • block_text_fluid
    • block_icon_card
    • block_text_cards
    • block_image_cards
    • block_logo_cards
    • single text outside of the front-matter
  • Where these pages should be stored, e.g. for services should they be stored in a "Services" folder or at the root as "services.markdown".

Do you understand what I mean?

@pattiyaa
Copy link
Contributor

pattiyaa commented Sep 13, 2020

For new page of services, it should be sub-menu under the service menu.

  1. create xxx.markdown file at root folder or in the services folder. Both ways will work.
  2. Set up frontmatter to make it sub-menu of service, you have to set order in 2x. (because service menu has order = 20) and set subnav = true
  • order: 21
  • subnav: true
    ** You can follow "blog.markdown" as an example, it is sub-menu of information menu.**
  1. Using layout: page, it provide a block_before and block_afer area where you can apply all block_template to this new page.
    • block_before: all blocks will be displayed above markdown content area
    • block_after: all blocks will be displayed bellow markdown content area
  2. You can also just add content as markdown in content area after frontmatter section. This content will display between block_before and block_afer area.

image

@jpradocueva jpradocueva reopened this Sep 17, 2020
@jpradocueva
Copy link
Contributor Author

I'm keeping it open until I am able to evaluate it.

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

4 participants