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

Create custom layout top menu and footer item from yaml file #356

Open
1 of 2 tasks
poonai opened this issue Aug 5, 2017 · 3 comments
Open
1 of 2 tasks

Create custom layout top menu and footer item from yaml file #356

poonai opened this issue Aug 5, 2017 · 3 comments

Comments

@poonai
Copy link
Contributor

poonai commented Aug 5, 2017

This is a

  • Bug report
  • Feature request

Current behaviour

In order to override the the default theme. user have to create the layout.html in $DOCPATH/_template/

{% extends '!layout.html' %} 
{% block header %} 
<!-- custom header here -->
 {% endblock %} 
{% block footer %} 
<!-- custom footer here --> 
{% endblock %}

Expected behaviour

automate the above process by creating a custom parser which takes header and footer from .yaydoc.yml to create layout.html and it'll moves the layout.html to $DOCPATH/_template/

@mariobehling mariobehling changed the title create cutom layout from yaml file. Create custom layout top menu and footer itesm from yaml file Aug 5, 2017
@championpaddler
Copy link
Member

@Sch00lb0y @mariobehling I am claiming it.

@championpaddler
Copy link
Member

@mariobehling I am working on it.

@poonai
Copy link
Contributor Author

poonai commented Oct 12, 2018

@sk9331657 Sure

@poonai poonai changed the title Create custom layout top menu and footer itesm from yaml file Create custom layout top menu and footer item from yaml file Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants