├── requirements.txt ├── themes └── bricks2 │ ├── README.md │ ├── static │ ├── img │ │ ├── background.png │ │ └── background_mobile.png │ ├── css │ │ ├── lamboz.css │ │ └── foundation.min.css │ └── js │ │ └── modernizr.js │ └── templates │ ├── credits.html │ ├── author.html │ ├── translations.html │ ├── archives.html │ ├── page.html │ ├── trademark.html │ ├── paginator.html │ ├── tags.html │ ├── analytics.html │ ├── categories.html │ ├── period_archives.html │ ├── piwik.html │ ├── tag.html │ ├── category.html │ ├── article_discus.html │ ├── article.html │ ├── index.html │ └── base.html ├── .gitignore ├── publishconf.py ├── pelicanconf.py ├── content └── pages │ └── about.md ├── Makefile └── tasks.py /requirements.txt: -------------------------------------------------------------------------------- 1 | pelican[Markdown] 2 | 3 | -------------------------------------------------------------------------------- /themes/bricks2/README.md: -------------------------------------------------------------------------------- 1 | Modified Pelican Bricks theme 2 | -------------------------------------------------------------------------------- /themes/bricks2/static/img/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leriomaggio/code-review-site/main/themes/bricks2/static/img/background.png -------------------------------------------------------------------------------- /themes/bricks2/static/img/background_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leriomaggio/code-review-site/main/themes/bricks2/static/img/background_mobile.png -------------------------------------------------------------------------------- /themes/bricks2/templates/credits.html: -------------------------------------------------------------------------------- 1 |
2 |

Stuff and credits

3 |

4 | Proudly powered by Pelican. 5 |

6 |
7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pid 2 | *.swp 3 | # do not track output directory since it will be rebuild by Netlify 4 | output/ 5 | __pycache__/ 6 | # This is a PyCharm-specific directory. Delete it if you're not using PyCharm 7 | .idea/ 8 | .DS_Store 9 | 10 | -------------------------------------------------------------------------------- /themes/bricks2/templates/author.html: -------------------------------------------------------------------------------- 1 | {% extends "index.html" %} 2 | {% block title %} Articles by {{ author }} - {{ SITENAME }}{% endblock %} 3 | {% block navclass %}{%endblock%} 4 | {% block content_title %} 5 |

Articles by {{ author }}

6 | {% endblock %} 7 | 8 | -------------------------------------------------------------------------------- /themes/bricks2/templates/translations.html: -------------------------------------------------------------------------------- 1 | {% macro translations_for(article) %} 2 | {% if article.translations %} 3 | Translations: 4 | {% for translation in article.translations %} 5 | {{ translation.lang }} 6 | {% endfor %} 7 | {% endif %} 8 | {% endmacro %} 9 | 10 | -------------------------------------------------------------------------------- /themes/bricks2/templates/archives.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block content %} 3 |

Archives for {{ SITENAME }}

4 | 5 |
6 | {% for article in dates %} 7 |
{{ article.locale_date }}
8 |
{{ article.title }}
9 | {% endfor %} 10 |
11 | {% endblock %} 12 | -------------------------------------------------------------------------------- /themes/bricks2/templates/page.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block title %}{{ page.title }}{%endblock%} 3 | 4 | {% block content %} 5 |
6 | {% import 'translations.html' as translations with context %} 7 | {{ translations.translations_for(page) }} 8 | 9 | {{ page.content }} 10 |
11 | {% endblock %} 12 | -------------------------------------------------------------------------------- /themes/bricks2/templates/trademark.html: -------------------------------------------------------------------------------- 1 | {% if TRADEMARK_TEXT %} 2 |
3 |
4 |

5 | {{ TRADEMARK_TEXT }} 6 |

7 |
8 |
9 | {% endif %} 10 | 11 | -------------------------------------------------------------------------------- /themes/bricks2/templates/paginator.html: -------------------------------------------------------------------------------- 1 | {% if DEFAULT_PAGINATION %} 2 |

3 | {% if articles_page.has_previous() %} 4 | « 5 | {% endif %} 6 | Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} 7 | {% if articles_page.has_next() %} 8 | » 9 | {% endif %} 10 |

11 | {% endif %} 12 | -------------------------------------------------------------------------------- /themes/bricks2/templates/tags.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}{{ SITENAME }} - Tags{% endblock %} 4 | 5 | {% block content %} 6 |

Tags for {{ SITENAME }}

7 | 12 | {% endblock %} 13 | 14 | {% block footer %} 15 | {% include 'credits.html' %} 16 | {% endblock %} 17 | -------------------------------------------------------------------------------- /themes/bricks2/templates/analytics.html: -------------------------------------------------------------------------------- 1 | {% if GOOGLE_ANALYTICS %} 2 | 6 | 11 | {% endif %} -------------------------------------------------------------------------------- /themes/bricks2/templates/categories.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}{{ SITENAME }} - Categories {% endblock %} 4 | 5 | 6 | 7 | {% block content %} 8 |

Categories for {{ SITENAME }}

9 | 14 | {% endblock %} 15 | 16 | {% block footer %} 17 | {% include 'credits.html' %} 18 | {% endblock %} 19 | -------------------------------------------------------------------------------- /publishconf.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- # 3 | 4 | # This file is only used if you use `make publish` or 5 | # explicitly specify it as your config file. 6 | 7 | import os 8 | import sys 9 | sys.path.append(os.curdir) 10 | from pelicanconf import * 11 | 12 | # If your site is available via HTTPS, make sure SITEURL begins with https:// 13 | SITEURL = '' 14 | RELATIVE_URLS = False 15 | 16 | FEED_ALL_ATOM = 'feeds/all.atom.xml' 17 | CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' 18 | 19 | DELETE_OUTPUT_DIRECTORY = True 20 | 21 | # Following items are often useful when publishing 22 | 23 | #DISQUS_SITENAME = "" 24 | #GOOGLE_ANALYTICS = "" -------------------------------------------------------------------------------- /themes/bricks2/templates/period_archives.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block archclass %} class="active"{%endblock%} 3 | 4 | {% block content %} 5 | 6 |
7 | {% for year, date_year in dates|groupby( 'date.year' )|sort(reverse=True) %} 8 |

Archive for {{ year }}

9 | 14 | {% endfor %} 15 |
16 | {% endblock %} 17 | -------------------------------------------------------------------------------- /themes/bricks2/templates/piwik.html: -------------------------------------------------------------------------------- 1 | {% if PIWIK_URL and PIWIK_SITE_ID %} 2 | 16 | {% endif %} 17 | -------------------------------------------------------------------------------- /pelicanconf.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- # 3 | 4 | AUTHOR = 'DK' 5 | SITENAME = 'Code Review Workshop ' 6 | SITEURL = '' 7 | SITESUBTITLE = '(for researchers)' 8 | SITEDATE = '03 Feb 2022' 9 | PATH = 'content' 10 | 11 | TIMEZONE = 'Europe/London' 12 | 13 | DEFAULT_LANG = 'en' 14 | 15 | # Feed generation is usually not desired when developing 16 | FEED_ALL_ATOM = None 17 | CATEGORY_FEED_ATOM = None 18 | TRANSLATION_FEED_ATOM = None 19 | AUTHOR_FEED_ATOM = None 20 | AUTHOR_FEED_RSS = None 21 | 22 | # Blogroll 23 | LINKS = (('Software Sustainability Institute', 'https://www.software.ac.uk/'), 24 | ) 25 | 26 | # Social widget 27 | SOCIAL = (('You can add links in your config file', '#'), 28 | ('Another social link', '#'),) 29 | 30 | DEFAULT_PAGINATION = False 31 | 32 | DISPLAY_PAGES_ON_MENU = False 33 | DISPLAY_CATEGORIES_ON_MENU = False 34 | DISPLAY_PAGE_TITLE = False 35 | 36 | # Uncomment following line if you want document-relative URLs when developing 37 | #RELATIVE_URLS = True 38 | 39 | THEME = "themes/bricks2/" 40 | -------------------------------------------------------------------------------- /themes/bricks2/templates/tag.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block pageheader %} 3 |
4 | 11 |
12 | {% endblock %} 13 | 14 | 15 | {% block content %} 16 | 17 | {% block content_title %} 18 | {% endblock %} 19 | 20 | 21 | {% set cnt = 0 %} 22 | 23 | 24 | 25 | {% for article in articles_page.object_list %} 26 |
27 |
{{ article.locale_date}}
28 | 29 |

{{ article.title }}

30 |

31 | {{ article.summary }} 32 |

33 |
34 | 35 | {% endfor %} 36 |
37 | {% if articles_page.has_other_pages() %} 38 |
39 | {% include 'pagination.html' %} 40 |
41 | {% endif %} 42 | 43 | {% endblock content %} 44 | 45 | 46 | -------------------------------------------------------------------------------- /themes/bricks2/templates/category.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block pageheader %} 3 |
4 | 11 |
12 | {% endblock %} 13 | 14 | 15 | {% block content %} 16 | 17 | {% block content_title %} 18 | {% endblock %} 19 | 20 | 21 | 22 | {% set cnt = 0 %} 23 | 24 | 25 | 26 | {% for article in articles_page.object_list %} 27 |
28 |
{{ article.locale_date}}
29 | 30 |

{{ article.title }}

31 |

32 | {{ article.summary }} 33 |

34 |
35 | 36 | {% endfor %} 37 |
38 | {% if articles_page.has_other_pages() %} 39 |
40 | {% include 'pagination.html' %} 41 |
42 | {% endif %} 43 | 44 | {% endblock content %} 45 | 46 | 47 | -------------------------------------------------------------------------------- /themes/bricks2/templates/article_discus.html: -------------------------------------------------------------------------------- 1 | {% if DISQUS_SITENAME %} 2 |
3 |
4 | 17 | 18 | comments powered by Disqus 19 | {% endif %} 20 | -------------------------------------------------------------------------------- /themes/bricks2/templates/article.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block pageheader %} 4 |
5 | 13 |
14 | {% endblock %} 15 | 16 | {% block content %} 17 |
18 |
19 |
Posted on {{ article.locale_date}}
20 | 21 |
22 |
23 | 24 |
25 | {{ article.summary }} 26 |
27 | 28 |
29 | {{ article.content }} 30 |
31 |
32 | 45 | 46 | {% include 'article_discus.html' %} 47 |
48 | {% endblock %} 49 | -------------------------------------------------------------------------------- /themes/bricks2/templates/index.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block content %} 3 | 4 | {% set cnt = 0 %} 5 | 6 | {% for article in articles_page.object_list %} 7 | {% if cnt < 2 %} 8 | {% if articles_page.has_previous() %} 9 | 10 | {% if cnt == 0 %} 11 |