Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
atas committed Oct 13, 2023
1 parent dd41656 commit 3ff196d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,17 @@ FYI: GitHub Pages for public repos are free, private repos require paid GitHub s
minimal PHP in them. For CSS changes, `less` is used to generate `css` files, see `./assets/styles` directory.
8. Follow the below steps to deploy to GitHub Pages.

### Custom PHP pages
### Individual PHP file to HTML

You can create any .php page at root directory or project or any sub-directory. `system` and `layout` directories
are excluded from html generation.
You can create any .php page at root directory or project or any subdirectory. `./system` and `./layout` directories,
`post.php` and `page.php` are excluded from individual PHP to HTML generation.

`./my-custom.php` will be `yoursite.com/my-custom`
`./my-custom-dir/my-custom.php` will be `yoursite.com/my-custom-dir/my-custom`

Nginx and Apache `.htaccess` configurations are included to remove `.php` extension from URLs in your local dev
environment.

## Enabling GitHub Pages

1. Go to your repo -> Settings -> Pages (on the left) and select `GitHub Actions` option in the `Source` select box,
Expand Down

0 comments on commit 3ff196d

Please sign in to comment.