-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29427f4
commit 271bf35
Showing
22 changed files
with
1,524 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.py] | ||
max_line_length = 120 | ||
|
||
[*.md] | ||
indent_size = 2 | ||
trim_trailing_whitespace = false | ||
|
||
[**/*.scss] | ||
indent_size = 2 | ||
|
||
[**/*.{json,yaml,yml}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,91 @@ | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
# ---> Python | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
.pytest_cache | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
|
||
# Translations | ||
# *.mo | ||
# *.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# ---> Node | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directory | ||
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git | ||
node_modules | ||
output/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# getudata | ||
|
||
udata website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Hello World | ||
date: 2018-08-28 17:59 | ||
modified: 2018-08-28 17:59 | ||
image: https://placehold.it/1920x1080 | ||
tags: | ||
- test | ||
slug: hello-world | ||
lang: en | ||
authors: Open Data Team | ||
summary: Just a sample article | ||
# status: draft | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
tagline: Open, customizable and skinnable platform dedicated to open data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
repository: https://github.com/opendatateam/udata-ckan | ||
--- | ||
CKAN support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
link: https://www.data.gouv.fr | ||
--- | ||
French national open data portal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-r requirements.pip | ||
invoke | ||
livereload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Demo | ||
date: 2018-08-28 18:00 | ||
modified: 2018-08-28 18:00 | ||
image: https://placehold.it/1920x1080 | ||
tags: | ||
- demo | ||
slug: demo | ||
lang: en | ||
authors: Open Data Team | ||
summary: Just a demo page | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
#!/usr/bin/env python | ||
import os | ||
|
||
AUTHOR = 'Open Data Team' | ||
SITENAME = 'udata' | ||
|
||
SITEDESCRIPTION = 'Bla bla bla' | ||
|
||
TAGS = ('opendata', 'data') | ||
|
||
# PATH = 'articles' | ||
|
||
TIMEZONE = 'Europe/Paris' | ||
|
||
DEFAULT_LANG = 'en' | ||
|
||
# THEME = 'theme' | ||
|
||
PATH = os.path.dirname(__file__) | ||
OUTPUT_PATH = os.path.join(PATH, 'output') | ||
ARTICLE_PATHS = [ | ||
'articles', | ||
] | ||
|
||
CONTACT_EMAIL = '[email protected]' | ||
|
||
# PAGE_PATHS = [ | ||
# 'pages', | ||
# ] | ||
|
||
|
||
# Feed generation is usually not desired when developing | ||
FEED_ALL_ATOM = None | ||
CATEGORY_FEED_ATOM = None | ||
TRANSLATION_FEED_ATOM = None | ||
AUTHOR_FEED_ATOM = None | ||
AUTHOR_FEED_RSS = None | ||
|
||
# Blogroll | ||
LINKS = (('Pelican', 'http://getpelican.com/'), | ||
('Python.org', 'http://python.org/'), | ||
('Jinja2', 'http://jinja.pocoo.org/'), | ||
('You can modify those links in your config file', '#'),) | ||
|
||
DEFAULT_PAGINATION = 10 | ||
|
||
# Uncomment following line if you want document-relative URLs when developing | ||
#RELATIVE_URLS = True | ||
|
||
STATIC_PATHS = [ | ||
'images', | ||
] | ||
|
||
PLUGIN_PATHS = [ | ||
'plugins', | ||
] | ||
|
||
PLUGINS = [ | ||
'sitemap', | ||
'frontmark', | ||
'data', | ||
'related_posts', | ||
'jinja_tools', | ||
] | ||
|
||
DATA_COMMON = 'data' | ||
DATA_PATHS = [ | ||
DATA_COMMON, | ||
os.path.join(DATA_COMMON, DEFAULT_LANG), | ||
] | ||
|
||
DATA = [ | ||
'config.yml', | ||
'showcase', | ||
'plugins', | ||
] | ||
|
||
TEMPLATE_PAGES = { | ||
# 'templates/index.html': 'index.html' | ||
} | ||
|
||
# Serve the blog on /blog/ | ||
# INDEX_URL = 'blog.html' | ||
# INDEX_SAVE_AS = 'blog.html' | ||
|
||
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}.html' | ||
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}.html' | ||
|
||
CATEGORY_URL = 'blog/category/{slug}.html' | ||
CATEGORY_SAVE_AS = 'blog/category/{slug}.html' | ||
|
||
TAG_URL = 'blog/tag/{slug}.html' | ||
TAG_SAVE_AS = 'blog/tag/{slug}.html' | ||
|
||
PAGE_URL = '{slug}.html' | ||
PAGE_SAVE_AS = '{slug}.html' | ||
|
||
|
||
SITEMAP = { | ||
'format': 'xml', | ||
'priorities': { | ||
'articles': 0.5, | ||
'indexes': 0.5, | ||
'pages': 0.5 | ||
}, | ||
'changefreqs': { | ||
'articles': 'daily', | ||
'indexes': 'daily', | ||
'pages': 'monthly' | ||
} | ||
} | ||
|
||
RELATED_POSTS_MAX = 3 | ||
|
||
SOCIAL = ( | ||
('github', 'https://github.com/opendatateam'), | ||
('twitter', 'https://twitter.com/udata_project'), | ||
('Gitter', 'https://gitter.im/opendatateam/udata'), | ||
) |
Empty file.
Oops, something went wrong.