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

Update template system #773

Open
3 tasks
binford2k opened this issue May 12, 2017 · 2 comments
Open
3 tasks

Update template system #773

binford2k opened this issue May 12, 2017 · 2 comments

Comments

@binford2k
Copy link
Owner

Adding a ticket so I don't keep forgetting to do this. We need presentation templating that's less terrible than the current setup. This will allow one to add full page styling or write headers and footers, for example.

  • use less crappy template tag syntax
  • add global presentation level template
  • write better templating documentation

See #769 for an alternate implementation

@lpirl
Copy link
Contributor

lpirl commented Nov 19, 2017

Awesome!
I'd strongly vote for reusing an existing, reasonably mature and established template engine.

@bparsia
Copy link

bparsia commented Aug 13, 2018

One problem that I'm facing with templates is that adding images seems to be impossible.

(My basic problem is that I need to add my university logo to the upper left corner of each slide and this has been an epic nightmare. I tried CSSing it but then I get overlap with content. I'm trying to template it and this happened. It's extremely frustrating. I've been at it for many hours for something that is basically trivial :()

I've tried:

 <img src="logo.png">
 <img src="image/logo.png">
 <img src="/image/logo.png">

in the template which yields:

http://localhost:9090/image//introduction/logo.png
http://localhost:9090/image//introduction/image/logo.png
http://localhost:9090/image///image/logo.png

respectively.

It feels like the first is what's supposed to work.

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

3 participants