You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
747 B

  1. # Hugo from Hedgdoc
  2. This repository contains code to generate a Hugo website based on markedown files coming from [Hedgedoc](https://hedgedoc.org/).
  3. ## Install
  4. ### Install Hugo
  5. Follow the Hugo installation guidelines: https://gohugo.io/installation/
  6. ### Install Hugo from Hedgedoc
  7. Clone the current Git repository on your computer.
  8. ## Configure
  9. ### Import the markdown files
  10. Markdown files must be stored in the repository `content`
  11. ### Customize the theme
  12. 1. Create a repo `themes`
  13. ```
  14. mkdir themes
  15. ```
  16. 2. Import your code in the repo `themes`, for instance:
  17. ```
  18. cd themes
  19. git clone https://github.com/matcornic/hugo-theme-learn.git
  20. ```
  21. ## Run your Hugo
  22. Launch the following command from your local repository:
  23. ```
  24. hugo serve
  25. ```