fixed typo in docs

This commit is contained in:
m455 2022-12-20 00:58:11 -05:00
parent 907516d1d6
commit 7b5aab8a14
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ You can `repo2html` by changing the following items:
You can customize `repo2html` by editing the `assets/templates/default.html`, and then specifying the path to the `default.html` file as the second command-line argument when running `repo2html`.
For example, if you placed a `default.html` file in `~/bin/templates`, and you serve HTML files from `/var/www/git`, then you run `repo2html /var/www/git ~/bin/templates`.
For example, if you placed a `default.html` file in `~/bin`, and you serve HTML files from `/var/www/git`, then you run `repo2html /var/www/git ~/bin`.
### Environment variables

View file

@ -103,7 +103,7 @@ Ensure you're in the repo2html git repository, and follow the steps below:
6. Run `ln -sf ~/bin/post-receive ~/projects/my-repository/hooks/post-receive`.
7. Run `cp assets/templates/default.html ~/bin`.
8. In the `assets/post-receive` file, change
`path/to/directory/containing/template` to `~/bin/default.html`
`path/to/directory/containing/template` to `~/bin`
### Enable cloning over git://