-
Notifications
You must be signed in to change notification settings - Fork 74
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
d42806d
commit e951857
Showing
11 changed files
with
255 additions
and
0 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
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,112 @@ | ||
#Pelican generation | ||
output/* | ||
!output/.gitkeep | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.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 | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# dotenv | ||
.env | ||
|
||
# virtualenv | ||
.venv | ||
venv/ | ||
ENV/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# Ignore build css files | ||
*.min.css | ||
*.min.css.map | ||
|
||
# Ignore md files of publications | ||
content/pages/publications/*.md | ||
content/dict_pubs.json |
Empty file.
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 @@ | ||
# Base website | ||
|
||
This is an example of the Radboudumc Pelican theme. |
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
title: About us | ||
|
||
Some information about the group. |
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 @@ | ||
title: Contact | ||
|
||
Contact information. |
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,8 @@ | ||
title: Members | ||
template: people | ||
|
||
<!--- | ||
This page is generated automatically. Please do not change the content of this 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,99 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- # | ||
from __future__ import unicode_literals | ||
from datetime import date | ||
|
||
# | ||
# Site specific variables | ||
# Please update these to customize the website. | ||
# | ||
AUTHOR = u'WebteamDIAG' | ||
SITENAME = u'DIAG Base' | ||
SITENAME_SHORT = 'DIAG' | ||
SITE_REPO = 'website-base' | ||
SITE_GROUP = 'base' | ||
|
||
# Home page and social settings | ||
SITELEAD = 'Some introduction text that is placed on the home page.' | ||
SITE_PICTURE = 'images/social/missing_picture_social.png' | ||
HOME_IMAGE = 'images/general/ApplicationsOfDeepLearning.png' | ||
HOME_IMAGE_CAPTION = 'Automated tumor detection' | ||
NUM_NEWS_HOME_PAGE = 4 | ||
TWITTER_URL = 'https://twitter.com/diagnijmegen?ref_src=twsrc%5Etfw' | ||
FOOTER_TEXT = 'Some footer text' | ||
TOP_DOMAIN = '<a href="https://www.radboudumc.nl">Radboudumc</a>' | ||
PARENT_DOMAIN = '<a href="http://www.radboudimaging.nl">Radboud Imaging</a>' | ||
|
||
# What sections to show in the nav bar | ||
NAV_SECTIONS = [ | ||
{"name": "News", "url": "news", "icon": "megaphone"}, | ||
{"name": "Members", "url": "members", "icon": "users"}, | ||
{"name": "Projects", "url": "projects", "icon": "folder"}, | ||
{"name": "Vacancies", "url": "vacancies"}, | ||
{"name": "Publications", "url": "publications", "icon": "file-text-o", "hidden": 85}, | ||
{"name": "Presentations", "url": "presentations", "hidden": 95}, | ||
{"name": "Thesis Gallery", "url": "thesis-gallery", "icon": "book", "hidden": 95}, | ||
{"name": "Contact", "url": "contact", "icon": "envelope-o", "hidden": 60}, | ||
] | ||
|
||
# Whether to show breadcrumbs on the page | ||
ENABLE_BREADCRUMBS = True | ||
|
||
# What sections to show on homepage (current options that you customizable: {section_name: custom_name}) | ||
HOME_SECTIONS = {"News": 'News', "Vacancies": "Vacancies", "Projects": "Projects", "Members": 'Members'} | ||
|
||
# URLs | ||
SITEURL = '' | ||
IMGURL = SITEURL | ||
EDIT_CONTENT_URL = 'https://github.com/diagnijmegen/website-content/edit/master/{file_path}' | ||
|
||
# | ||
# Non-content variables | ||
# In general these values do not have to be changed. | ||
# | ||
PATH = 'content' | ||
RELATIVE_URLS = False | ||
|
||
TIMEZONE = 'Europe/Amsterdam' | ||
DEFAULT_LANG = 'EN' | ||
ARTICLE_TRANSLATION_ID = None | ||
PAGE_TRANSLATION_ID = None | ||
|
||
# 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 | ||
|
||
CURRENTYEAR = date.today().year | ||
TODAY = date.today() | ||
LINKS = () | ||
DEFAULT_PAGINATION = 10 | ||
|
||
# URL settings | ||
BIBKEYS_SRC = 'content/dict_pubs.json' | ||
PAGE_URL = '{slug}/' | ||
PAGE_SAVE_AS = '{slug}/index.html' | ||
SLUGIFY_SOURCE = 'basename' | ||
|
||
ARTICLE_URL = 'news/{slug}/' | ||
ARTICLE_SAVE_AS = 'news/{slug}/index.html' | ||
ARTICLE_TYPE = 'News' | ||
|
||
TAGS_SAVE_AS = '' | ||
TAG_SAVE_AS = '' | ||
CATEGORY_URL = '' | ||
CATEGORY_SAVE_AS = '' | ||
CATEGORIES_SAVE_AS = '' | ||
|
||
SITEMAP_SAVE_AS = 'sitemap.xml' | ||
INDEX_SAVE_AS = 'news/index.html' | ||
|
||
# Theme settings | ||
THEME = "../radboudumc-template" | ||
DIRECT_TEMPLATES = ['index', 'archives', 'sitemap'] | ||
|
||
# Plugins | ||
PLUGIN_PATHS = ["../plugins"] | ||
PLUGINS = ["bibtex", "bibtex_loader", "edit_url", "hierarchy", "fileutil", "bootstrapify", "imgutil", "inline_extend", "content_aggregator"] |
Empty file.
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,24 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- # | ||
from __future__ import unicode_literals | ||
|
||
# This file is only used if you use `make publish` or | ||
# explicitly specify it as your config file. | ||
|
||
import os | ||
import sys | ||
sys.path.append(os.curdir) | ||
from pelicanconf import * | ||
|
||
SITEURL = 'https://diagnijmegen.github.io/website-base' | ||
IMGURL = 'https://assets.diagnijmegen.nl' | ||
RELATIVE_URLS = False | ||
|
||
FEED_DOMAIN = SITEURL | ||
FEED_ALL_ATOM = None | ||
CATEGORY_FEED_ATOM = None | ||
TRANSLATION_FEED_ATOM = None | ||
AUTHOR_FEED_ATOM = None | ||
AUTHOR_FEED_RSS = None | ||
|
||
DELETE_OUTPUT_DIRECTORY = True |