5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-23 07:03:06 +00:00

Lang set to en and test of adding directory listings

This commit is contained in:
Chris Croome 2019-07-05 17:56:48 +01:00
parent 24d05e6ca2
commit 10d1dbf623
8 changed files with 92 additions and 7 deletions

View File

@ -1,5 +1,5 @@
# Serve .html files without extensions
Options +MultiViews
# Serve .html files without extensions and allow directory listings
Options +MultiViews +Indexes
# If a SVG and a PNG exists the prefer the SVG
AddType image/svg+xml;qs=0.9 svg sgvz
AddType image/png;qs=0.8 png
@ -33,3 +33,9 @@ Redirect /co-op/graphics-coop https://www.coops.tech/co-op/form-and-function
# with STS support from accessing the site using HTTP
# https://stackoverflow.com/questions/24144552/how-to-set-hsts-header-from-htaccess-only-on-https
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
# Directory Listings
HeaderName /top.html
ReadmeName /bot.html
IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* DescriptionWidth=*
IndexOptions Charset=UTF-8 SuppressHTMLPreamble XHTML TrackModified IconsAreLinks
IndexOptions SuppressDescription

View File

@ -2,7 +2,7 @@
---
<!doctype html>
<html lang="en-US">
<html lang="en">
{% include head.html %}

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en-US">
<html lang="en">
{% include head.html %}

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en-GB" prefix="og: http://ogp.me/ns#">
<html lang="en" prefix="og: http://ogp.me/ns#">
{% include head.html %}

View File

@ -2,7 +2,7 @@
---
<!doctype html>
<html lang="en-US">
<html lang="en">
{% include head.html %}

View File

@ -2,7 +2,7 @@
---
<!doctype html>
<html lang="en-US">
<html lang="en">
{% include head.html %}

35
bot.html Normal file
View File

@ -0,0 +1,35 @@
<footer>
<div class="footer-upper">
<div class="row">
<div class="small-12 columns">
<div class="menu-centered">
<ul class="menu">
<li><a href="/about">About <span>&#xbb;</span></a></li>
<li><a href="/join">Join <span>&#xbb;</span></a></li>
<li><a href="/manifesto">Manifesto <span>&#xbb;</span></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer-lower">
<div class="row">
<div class="small-12 columns">
<img src="/assets/img/coop-logo.png" class="float-center" />
<p>Site developed by <a href="https://glowboxdesign.co.uk/" target="_blank">Glowbox Design</a>, <a href="https://gofreerange.com/" target="_blank">Go Free Range</a> &amp; <a href="https://outlandish.com" target="_blank">Outlandish</a>.</p>
<p>Source code available on <a href="https://git.coop/cotech/website" target="_blank">git.coop</a>.</p>
<p>Hosted by <a href="https://www.webarchitects.coop/" target="_blank">Webarchitects</a> for CoTech &#xa9;2019</p>
</div>
</div>
</div>
</footer>
<script type='text/javascript' src='/assets/js/app.js'></script>
</body>
</html>

44
top.html Normal file
View File

@ -0,0 +1,44 @@
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Directory Listing &laquo; CoTech &laquo; Cooperative Technologists</title>
<link rel='stylesheet' id='app-css' href='/assets/css/app.css' type='text/css' media='all' />
<script type='text/javascript' src='/assets/js/vendor.js'></script>
<link rel="icon" href="/assets/img/cropped-cotech_512x512-32x32.png" sizes="32x32" />
<style type="text/css" id="wp-custom-css">
section#contact div.row div p a:active,
section#contact div.row div p a:focus,
section#contact div.row div p a:hover {
text-decoration: underline;
color: white;
}
</style>
<link rel="stylesheet" href="/assets/foundation-icons/foundation-icons.css">
<link rel="icon" type="image/x-icon" href="/assets/img/CoTech-logo.png">
</head>
<body>
<header>
<div data-sticky-container style="height: 82.7812px;">
<div class="top-bar sticky iss-stuck is-at-top" data-sticky data-margin-top=0>
<div class="top-bar-title">
<strong>
<a id="logo" href="/">
<img src="/assets/img/CoTech-logo.png">CoTech
</a>
</strong>
<a class="back" href="/">&#8592; Go Back</a>
<a class="close" href="/">&#10006;</a>
</div>
</div>
</div>
</header>