Skip to content

Commit

Permalink
v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kristuff authored Aug 23, 2021
2 parents 9fb9bab + 9a88025 commit f2733aa
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 10 deletions.
2 changes: 1 addition & 1 deletion assets/FOOTER.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</section>
<footer id="section-footer">
<div class="row">
<p>Apache Fancy Index v0.1.4 | © 2021 Christophe Buliard | <a target="_blank" href="https://github.com/kristuff/apache-fancy-index" rel="no-referer">Source code</a> </p>
<p>Apache Fancy Index v0.1.5 | © 2021 Christophe Buliard | <a target="_blank" href="https://github.com/kristuff/apache-fancy-index" rel="no-referer">Source code</a> </p>
</div>
</footer>
<script src="/fancy-index/js/script.js"></script>
Expand Down
9 changes: 5 additions & 4 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
* |__/
*
* This file is part of kristuff/apache-fancy-index.
* Version 0.1.4 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
* Version 0.1.5 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

@media (prefers-color-scheme: light) {
:root {

:root {
--color-bg: #ffffff;
--color-highlight: #000000;
--color-text: #404040;
Expand All @@ -28,7 +28,8 @@
--color-link-text: #115293;
--color-link-text--visited: #115293;
}
}


@media (prefers-color-scheme: dark) {
:root {
--color-bg:#1f242b;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* |__/
*
* This file is part of kristuff/apache-fancy-index.
* Version 0.1.4 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
* Version 0.1.5 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
7 changes: 6 additions & 1 deletion conf/fancy-index-tests.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# |__/
#
# This file is part of kristuff/apache-fancy-index.
# Version 0.1.4 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
# Version 0.1.5 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
Expand Down Expand Up @@ -35,6 +35,11 @@ Alias /fancy-index-tests /usr/share/doc/apache-fancy-index/tests
IndexStyleSheet /fancy-index/css/style.css
HeaderName /fancy-index/HEADER.html
ReadmeName /fancy-index/FOOTER.html





</IfModule>
</Directory>

Expand Down
15 changes: 14 additions & 1 deletion conf/fancy-index.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# |__/
#
# This file is part of kristuff/apache-fancy-index.
# Version 0.1.4 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
# Version 0.1.5 - Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
Expand All @@ -30,6 +30,19 @@ Alias /fancy-index /usr/share/apache-fancy-index
Options -Indexes -Includes
AllowOverride None
Require all granted

# templates should not be directly requested
<Files "HEADER.html">
<If "-z %{ENV:REDIRECT_STATUS}">
Require all denied
</If>
</Files>

<Files "FOOTER.html">
<If "-z %{ENV:REDIRECT_STATUS}">
Require all denied
</If>
</Files>
</Directory>

AddType image/svg+xml svg svgz
Expand Down
2 changes: 1 addition & 1 deletion create_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# |__/
#
# This file is part of kristuff/apache-fancy-index.
# Version 0.1.4
# Version 0.1.5
# Copyright (c) 2021 Kristuff <kristuff@kristuff.fr>
#
# For the full copyright and license information, please view the LICENSE
Expand Down
2 changes: 1 addition & 1 deletion deb/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: apache-fancy-index
Version: 0.1.4
Version: 0.1.5
Maintainer: kristuff <kristuff@kristuff.fr>
Architecture: all
Depends: apache2
Expand Down

0 comments on commit f2733aa

Please sign in to comment.