Skip to content

Commit

Permalink
Replace publish date in footer by current chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
yackx committed Jun 21, 2024
1 parent 57f7316 commit 396fe4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions templates/eisvogel.tex
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,7 @@
\lhead[$if(header-right)$$header-right$$else$$date$$endif$]{$if(header-left)$$header-left$$else$$title$$endif$}
\chead[$if(header-center)$$header-center$$else$$endif$]{$if(header-center)$$header-center$$else$$endif$}
\rhead[$if(header-left)$$header-left$$else$$title$$endif$]{$if(header-right)$$header-right$$else$$date$$endif$}
\lfoot[$if(footer-right)$$footer-right$$else$\thepage$endif$]{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
\cfoot[$if(footer-center)$$footer-center$$else$$endif$]{$if(footer-center)$$footer-center$$else$$endif$}
\lfoot[$if(footer-right)$$footer-right$$else$\thepage$endif$]{$if(footer-left)$$footer-left$$else$\leftmark$endif$} \cfoot[$if(footer-center)$$footer-center$$else$$endif$]{$if(footer-center)$$footer-center$$else$$endif$}
\rfoot[$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$]{$if(footer-right)$$footer-right$$else$\thepage$endif$}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
Expand Down
2 changes: 1 addition & 1 deletion templates/meta-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ toc-own-page: true
# Unknown: how to re-user variables
header-left: Introduction to Programming with Go
header-right: Youri Ackx
footer-left: "9 March 2024"
# footer-left: "9 March 2024"
# footer-right: page

# book: true
Expand Down

0 comments on commit 396fe4b

Please sign in to comment.