Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 18327e2

Browse files
committed
initial commit
0 parents  commit 18327e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4274
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
assets
2+
content
3+
vendor
4+
hosts.ini

.htaccess

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<IfModule mod_rewrite.c>
2+
RewriteEngine On
3+
# May be required to access sub directories
4+
#RewriteBase /
5+
6+
# Deny access to internal dirs and files by passing the URL to Pico
7+
RewriteRule ^(config|content|vendor|CHANGELOG\.md|composer\.(json|lock|phar))(/|$) index.php [L]
8+
RewriteRule (^\.|/\.)(?!well-known(/|$)) index.php [L]
9+
10+
# Enable URL rewriting
11+
RewriteCond %{REQUEST_FILENAME} !-f
12+
RewriteCond %{REQUEST_FILENAME} !-d
13+
RewriteRule ^ index.php [L]
14+
15+
<IfModule mod_env.c>
16+
# Let Pico know about available URL rewriting
17+
SetEnv PICO_URL_REWRITING 1
18+
</IfModule>
19+
</IfModule>
20+
21+
# Prevent file browsing
22+
Options -Indexes -MultiViews

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2012 The Pico Community
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Codehub website
2+
===============
3+
4+
Running on [picocms](http://picocms.org/).Content is stored in a [separate repo](https://github.com/CodeHubOrg/codehub-web-content)

composer.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "picocms/pico-composer",
3+
"type": "project",
4+
"description": "Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .md files in the \"content\" folder and that becomes a page.",
5+
"keywords": [ "pico", "picocms", "pico-cms", "simple", "flat-file", "cms", "content-management", "website", "markdown-to-html", "php", "markdown", "yaml", "twig", "composer-project" ],
6+
"homepage": "http://picocms.org/",
7+
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "The Pico Community",
11+
"homepage": "http://picocms.org/"
12+
},
13+
{
14+
"name": "Contributors",
15+
"homepage": "https://github.com/picocms/pico-composer/graphs/contributors"
16+
}
17+
],
18+
"support": {
19+
"docs": "http://picocms.org/docs",
20+
"issues": "https://github.com/picocms/Pico/issues",
21+
"source": "https://github.com/picocms/Pico"
22+
},
23+
"require": {
24+
"picocms/pico": "^2.0",
25+
"picocms/pico-theme": "^2.0",
26+
"picocms/pico-deprecated": "^2.0",
27+
"picocms/composer-installer": "^1.0"
28+
}
29+
}

0 commit comments

Comments
 (0)