How to use the README of a project as website homepage while avoiding subfolders in final URL? #13585
-
| DescriptionHello, I have a project in which I have a folder  This works fine but I would like the content of the README to be  the homepage of the website.  Currently, I have to duplicate the content of the README in  I tried to move  website:
  title: "my-project"
  navbar:
    left:
      - href: docs/index.qmd
        text: Home
      - docs/about.qmdand this in  but now the URL to the page "About" is for example "mywebsite.com/docs/about.html" while I would like to have "mywebsite.com/about.html". Is there a way to use the content of the README as the homepage while not having "docs" in the final URL? Quarto 1.7.32 | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| There are many many ways. Two approaches amongst others: 
 | 
Beta Was this translation helpful? Give feedback.
There are many many ways.
Note that in your example you want to include a file that is outside your project which goes against the design of reproducibility.
Two approaches amongst others: