mirror of
https://github.com/amyjko/cooperative-software-development
synced 2024-12-25 21:58:15 +01:00
Added browser routing support to rid of hash.
This commit is contained in:
parent
4d12de2173
commit
6dc68fa17c
2 changed files with 8 additions and 1 deletions
7
.htaccess
Normal file
7
.htaccess
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Set the path to prepend to all rewrites.
|
||||||
|
RewriteBase ajko/books/cooperative-software-development
|
||||||
|
|
||||||
|
# Redirect all non-directory paths to index.html for single-page routing,
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule (.*) index.html [L,QSA]
|
|
@ -56,7 +56,7 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body onload="bookish()">
|
<body onload="bookish('ajko/books/cooperative-software-development')">
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue