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

Would like to be able to configure the Header and Footer separately #510

Closed
gdamore opened this issue Mar 18, 2020 · 3 comments · Fixed by #516
Closed

Would like to be able to configure the Header and Footer separately #510

gdamore opened this issue Mar 18, 2020 · 3 comments · Fixed by #516

Comments

@gdamore
Copy link
Collaborator

gdamore commented Mar 18, 2020

I have documents where I generate the header (because I want the section information), but I exclude the footer. asciidoctor lets me do this. It seems libasciidoc lacks the ability to configure these.

@xcoulon xcoulon added this to the v0.3.1 milestone Mar 18, 2020
@xcoulon
Copy link
Member

xcoulon commented Mar 18, 2020

@gdamore could you explain how you do this with Asciidoctor? Libasciidoc has the -s, --no-header-footer flag, but that for the header and footer at the same time.
Do you specify a custom HTML template, maybe? Otherwise, how do you do that?

@gdamore
Copy link
Collaborator Author

gdamore commented Mar 19, 2020

I supply a nofooter attribute. There is also a noheader attribute that can be set.

@xcoulon
Copy link
Member

xcoulon commented Mar 19, 2020

ok, got it! I'll implement that ;)

@xcoulon xcoulon self-assigned this Mar 19, 2020
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Mar 21, 2020
when the `noheader` or `nofooter` document attributes
are set (with an empty value), the header and footer
are NOT rendered (respectively)

Fixes bytesparadise#510

Signed-off-by: Xavier Coulon <[email protected]>
xcoulon added a commit that referenced this issue Mar 22, 2020
when the `noheader` or `nofooter` document attributes
are set (with an empty value), the header and footer
are NOT rendered (respectively)

Fixes #510

Signed-off-by: Xavier Coulon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants