Skip to content

How to get custom footer and header for pdf (ebook) ? #1661

@cloudyuga

Description

@cloudyuga

What is the current behaviour?

I would like to get custom footer and header. I do following

$ gitbook init
$ mkdir ebook
$ echo "Page{{ page.num }}  - <b>CloudYuga Technologies</b>" > ebook/pdf_header.html
$ echo "Page{{ page.num }}  - <b>CloudYuga Technologies</b>" > ebook/pdf_footer.html
$ gitbook pdf ./ ./mybook.pdf

I don't see custom header and footer in my pdf.

  • Provide the GitBook version being used (gitbook -V)
CLI version: 2.3.0
GitBook version: 3.2.2
  • Provide system informations (OS and version)
Mac

What is the expected behavior?

I should see custom header and footer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions