Skip to content
Discussion options

You must be logged in to vote

In your example repo, I corrected the paths in the _extension.yml file to point to the partials:

title: Stylo
author: Nicolas Sauret
version: 1.0.0
quarto-required: ">=1.4.0"
contributes:
  formats:
    common:
      toc: true
      filters:
        - stylo.lua
    pdf:
      include-in-header: header.tex
    html:
      template-partials:
        - partials/metadata.html
        - partials/title-block.html
      css: styles.css

then in the template.qmd file I simplified the format:

---
title: Stylo Template
format:
  stylo-pdf:
    keep-tex: true  
  stylo-html: default
...
---

and finally I run the command as follows to preview using the style-html format:

quarto preview template.qmd --…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@cderv
Comment options

cderv Jun 5, 2023
Maintainer

@lakonis
Comment options

@lakonis
Comment options

@dragonstyle
Comment options

Answer selected by lakonis
@lakonis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites
3 participants