diff --git a/.gitignore b/.gitignore index 748deb9..bfb1841 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ *.out *.py[cod] output +.vscode diff --git a/content/pages/gratitude.rst b/content/pages/gratitude.rst index 5475af1..4550c28 100644 --- a/content/pages/gratitude.rst +++ b/content/pages/gratitude.rst @@ -3,7 +3,7 @@ Gratitude :title: Gratitude -The theme for this site is courtesy of `Smashing Magazine`_. +The theme for this site is courtesy of `Luca Fedrizzi`_. The Pelican logo was designed by Derry Livenski and is available under a `Creative Commons`_ license via the download links below: @@ -13,7 +13,7 @@ The Pelican logo was designed by Derry Livenski and is available under a SVG_ PNG_ PDF_ -.. _`Smashing Magazine`: http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/ +.. _`Luca Fedrizzi`: https://twitter.com/lc_fd .. _`Creative Commons`: https://creativecommons.org/licenses/by/4.0/ .. |logo| image:: {static}/logo/pelican-logo-small.png diff --git a/content/pages/index.rst b/content/pages/index.rst deleted file mode 100644 index 976e62a..0000000 --- a/content/pages/index.rst +++ /dev/null @@ -1,62 +0,0 @@ -Pelican Static Site Generator, Powered by Python -================================================ - -:url: -:save_as: index.html - -Pelican is a static site generator that requires no database or server-side logic. - -The project is maintained by `Justin Mayer`_ (`@jmayer`_) and other members of -the `Pelican dev team`_. - -Some of Pelican’s features include: - -* Write content in reStructuredText_ or Markdown_ markup -* Completely static output is easy to host anywhere -* Themes_ that can be customized via Jinja_ templates -* Publish content in multiple languages -* Atom/RSS feeds -* Code syntax highlighting -* Import from WordPress, RSS feeds, and other services -* Modular plugin system and corresponding `plugin repository`_ - -… and many other features. - -Next Steps ----------- - -Learn more about the Pelican static site generator via: - -* `Pelican news`_ -* the extensive documentation_ -* `source code on GitHub`_ -* `Pelican on Twitter`_ - -Support Pelican Development ---------------------------- - -Following are ways you can support Pelican’s development: - -* donate_ to Pelican Dev Team -* follow `@jmayer`_ and `Pelican on Twitter`_ -* contribute pull requests, help triage issues, and improve documentation - -|donate-fosspay| |donate-liberapay| - -.. _`Justin Mayer`: https://justinmayer.com/ -.. _`@jmayer`: https://twitter.com/jmayer -.. _`Pelican dev team`: https://github.com/orgs/getpelican/people -.. _reStructuredText: http://docutils.sourceforge.net/rst.html -.. _Markdown: http://daringfireball.net/projects/markdown/ -.. _Jinja: http://jinja.pocoo.org/ -.. _Themes: https://github.com/getpelican/pelican-themes -.. _`plugin repository`: https://github.com/getpelican/pelican-plugins -.. _`Pelican news`: http://blog.getpelican.com/category/news.html -.. _documentation: http://docs.getpelican.com/ -.. _`source code on GitHub`: https://github.com/getpelican/pelican -.. _`Pelican on Twitter`: https://twitter.com/getpelican -.. _donate: https://donate.getpelican.com -.. |donate-fosspay| image:: https://badgen.net/badge/fosspay/donate/yellow - :target: https://donate.getpelican.com -.. |donate-liberapay| image:: https://badgen.net/badge/liberapay/donate/yellow - :target: https://liberapay.com/Pelican/donate diff --git a/input.css b/input.css new file mode 100644 index 0000000..2715736 --- /dev/null +++ b/input.css @@ -0,0 +1,47 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer components { + .btn { + @apply rounded-lg px-8 py-3; + @apply inline-block; + @apply no-underline; + } + .btn_primary { + @apply bg-primary; + @apply text-white hover:text-white; + } + .btn_white { + @apply bg-white hover:text-primary; + } + + .text_gradient { + @apply text-transparent bg-clip-text bg-gradient-to-r from-primary to-primary-shade; + } + + .inline_code { + @apply bg-primary-100 rounded-sm font-medium px-2; + } + + .fluctuate_animation { + animation: fluctuate 8s infinite; + } + + a { + @apply underline text-primary; + @apply transition-colors hover:text-primary-shade; + } +} + +@keyframes fluctuate { + 0% { + transform: translateY(-20px); + } + 50% { + transform: translateY(+20px); + } + 100% { + transform: translateY(-20px); + } +} diff --git a/pelicanconf.py b/pelicanconf.py index f9ac167..20dde9c 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,12 +1,12 @@ import logging AUTHOR = "Pelican Contributors" -SITENAME = "Pelican Development Blog" +SITENAME = "Pelican – A Python Static Site Generator" SITEURL = "" PATH = "content" -THEME = "themes/notmyidea" +THEME = "themes/getpelican" CACHE_CONTENT = False LOAD_CONTENT_CACHE = False @@ -16,6 +16,8 @@ DEFAULT_LANG = "en" LOCALE = "en_US.UTF-8" +TEMPLATE_PAGES = {"homepage.html": "index.html"} + MENUITEMS = ( ("documentation", "https://docs.getpelican.com"), ("contribute", "https://donate.getpelican.com"), @@ -68,3 +70,25 @@ }, "output_format": "html5", } + +TAILWIND = { + "version": "3.0.0", + "plugins": [ + "@tailwindcss/typography", + "@tailwindcss/line-clamp", + ], +} + +INDEX_SAVE_AS = "blog/index.html" +PAGE_URL = "{slug}" +PAGE_SAVE_AS = "{slug}/index.html" +ARTICLE_SAVE_AS = 'blog/{slug}/index.html' +ARTICLE_URL = 'blog/{slug}' +CATEGORIES_URL = 'blog/categories/' +CATEGORIES_SAVE_AS = 'blog/categories/index.html' +CATEGORY_URL = 'blog/category/{slug}/index.html' +CATEGORY_SAVE_AS = 'blog/category/{slug}/index.html' +TAGS_URL = 'blog/tags/' +TAGS_SAVE_AS = 'blog/tags/index.html' +TAG_URL = 'blog/tag/{slug}/index.html' +TAG_SAVE_AS = 'blog/tag/{slug}/index.html' diff --git a/publishconf.py b/publishconf.py index 189efcc..f37385e 100644 --- a/publishconf.py +++ b/publishconf.py @@ -2,6 +2,6 @@ sys.path.append(".") from pelicanconf import * # noqa -SITEURL = "https://blog.getpelican.com" +SITEURL = "https://getpelican.com" DELETE_OUTPUT_DIRECTORY = True diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5aced1c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[tool.poetry] +name = "pelican-blog" +version = "0.1.0" +description = "The Pelican Blog" +authors = ["Luca Fedrizzi <9001053+fedriz@users.noreply.github.com>"] +readme = "README.rst" + +[tool.poetry.dependencies] +python = ">=3.10,<4.0" +pelican-tailwindcss = ">=0.2.0" +djlint = ">=1.7.0" +pelican = {extras = ["markdown"], version = ">=4.8.0"} + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" + +[tool.djlint] +profile="jinja" +indent=2 +ignore="T028,H006" diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..5d5177d --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,22 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["./themes/**/*.html", "./themes/**/*.js"], + theme: { + extend: { + fontFamily: { + sans: ["Poppins", "sans-serif"], + }, + colors: { + "primary-100": "#F0F9F8", + "primary-200": "#90D4D1", + "primary-300": "#23BDD2", + primary: "#14A0C4", + "primary-shade": "#a1d9e7", + }, + }, + }, + plugins: [ + require("@tailwindcss/typography"), + require("@tailwindcss/line-clamp"), + ], +}; diff --git a/themes/getpelican/static/css/fonts.css b/themes/getpelican/static/css/fonts.css new file mode 100644 index 0000000..98fa1aa --- /dev/null +++ b/themes/getpelican/static/css/fonts.css @@ -0,0 +1,129 @@ +/* poppins-100 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 100; + src: url("/theme/fonts/poppins/Poppins-Thin.ttf") format("truetype"); +} +/* poppins-100italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 100; + src: url("/theme/fonts/poppins/Poppins-ThinItalic.ttf") format("truetype"); +} +/* poppins-200 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 200; + src: url("/theme/fonts/poppins/Poppins-ExtraLight.ttf") format("truetype"); +} +/* poppins-200italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 200; + src: url("/theme/fonts/poppins/Poppins-ExtraLightItalic.ttf") + format("truetype"); +} +/* poppins-300 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 300; + src: url("/theme/fonts/poppins/Poppins-Light.ttf") format("truetype"); +} +/* poppins-300italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 300; + src: url("/theme/fonts/poppins/Poppins-LightItalic.ttf") format("truetype"); +} +/* poppins-regular - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 400; + src: url("/theme/fonts/poppins/Poppins-Regular.ttf") format("truetype"); +} +/* poppins-italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 400; + src: url("/theme/fonts/poppins/Poppins-Italic.ttf") format("truetype"); +} +/* poppins-500 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 500; + src: url("/theme/fonts/poppins/Poppins-Medium.ttf") format("truetype"); +} +/* poppins-500italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 500; + src: url("/theme/fonts/poppins/Poppins-MediumItalic.ttf") format("truetype"); +} +/* poppins-600 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 600; + src: url("/theme/fonts/poppins/Poppins-SemiBold.ttf") format("truetype"); +} +/* poppins-600italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 600; + src: url("/theme/fonts/poppins/Poppins-SemiBoldItalic.ttf") + format("truetype"); +} +/* poppins-700 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 700; + src: url("/theme/fonts/poppins/Poppins-Bold.ttf") format("truetype"); +} +/* poppins-700italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 700; + src: url("/theme/fonts/poppins/Poppins-BoldItalic.ttf") format("truetype"); +} +/* poppins-800 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 800; + src: url("/theme/fonts/poppins/Poppins-ExtraBold.ttf") format("truetype"); +} +/* poppins-800italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 800; + src: url("/theme/fonts/poppins/Poppins-ExtraBoldItalic.ttf") + format("truetype"); +} +/* poppins-900 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 900; + src: url("/theme/fonts/poppins/Poppins-Black.ttf") format("truetype"); +} +/* poppins-900italic - latin */ +@font-face { + font-family: "Poppins"; + font-style: italic; + font-weight: 900; + src: url("/theme/fonts/poppins/Poppins-BlackItalic.ttf") format("truetype"); +} diff --git a/themes/getpelican/static/fonts/poppins/OFL.txt b/themes/getpelican/static/fonts/poppins/OFL.txt new file mode 100644 index 0000000..246c977 --- /dev/null +++ b/themes/getpelican/static/fonts/poppins/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Black.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Black.ttf new file mode 100644 index 0000000..71c0f99 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Black.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-BlackItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-BlackItalic.ttf new file mode 100644 index 0000000..7aeb58b Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-BlackItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Bold.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Bold.ttf new file mode 100644 index 0000000..00559ee Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Bold.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-BoldItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-BoldItalic.ttf new file mode 100644 index 0000000..e61e8e8 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-BoldItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-ExtraBold.ttf b/themes/getpelican/static/fonts/poppins/Poppins-ExtraBold.ttf new file mode 100644 index 0000000..df70936 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-ExtraBold.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-ExtraBoldItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-ExtraBoldItalic.ttf new file mode 100644 index 0000000..14d2b37 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-ExtraBoldItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-ExtraLight.ttf b/themes/getpelican/static/fonts/poppins/Poppins-ExtraLight.ttf new file mode 100644 index 0000000..e76ec69 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-ExtraLight.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-ExtraLightItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-ExtraLightItalic.ttf new file mode 100644 index 0000000..89513d9 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-ExtraLightItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Italic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Italic.ttf new file mode 100644 index 0000000..12b7b3c Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Italic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Light.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Light.ttf new file mode 100644 index 0000000..bc36bcc Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Light.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-LightItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-LightItalic.ttf new file mode 100644 index 0000000..9e70be6 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-LightItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Medium.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Medium.ttf new file mode 100644 index 0000000..6bcdcc2 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Medium.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-MediumItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-MediumItalic.ttf new file mode 100644 index 0000000..be67410 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-MediumItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Regular.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Regular.ttf new file mode 100644 index 0000000..9f0c71b Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Regular.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-SemiBold.ttf b/themes/getpelican/static/fonts/poppins/Poppins-SemiBold.ttf new file mode 100644 index 0000000..74c726e Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-SemiBold.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-SemiBoldItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-SemiBoldItalic.ttf new file mode 100644 index 0000000..3e6c942 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-SemiBoldItalic.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-Thin.ttf b/themes/getpelican/static/fonts/poppins/Poppins-Thin.ttf new file mode 100644 index 0000000..03e7366 Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-Thin.ttf differ diff --git a/themes/getpelican/static/fonts/poppins/Poppins-ThinItalic.ttf b/themes/getpelican/static/fonts/poppins/Poppins-ThinItalic.ttf new file mode 100644 index 0000000..e26db5d Binary files /dev/null and b/themes/getpelican/static/fonts/poppins/Poppins-ThinItalic.ttf differ diff --git a/themes/getpelican/static/img/fortressa-logo.svg b/themes/getpelican/static/img/fortressa-logo.svg new file mode 100644 index 0000000..082a031 --- /dev/null +++ b/themes/getpelican/static/img/fortressa-logo.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/themes/getpelican/static/img/logo.svg b/themes/getpelican/static/img/logo.svg new file mode 100644 index 0000000..33bf617 --- /dev/null +++ b/themes/getpelican/static/img/logo.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/getpelican/static/img/pelican-2.png b/themes/getpelican/static/img/pelican-2.png new file mode 100644 index 0000000..d09d2b1 Binary files /dev/null and b/themes/getpelican/static/img/pelican-2.png differ diff --git a/themes/getpelican/static/img/pelican-3.png b/themes/getpelican/static/img/pelican-3.png new file mode 100644 index 0000000..9888e89 Binary files /dev/null and b/themes/getpelican/static/img/pelican-3.png differ diff --git a/themes/getpelican/static/img/pelican-4.png b/themes/getpelican/static/img/pelican-4.png new file mode 100644 index 0000000..d67dbab Binary files /dev/null and b/themes/getpelican/static/img/pelican-4.png differ diff --git a/themes/getpelican/static/img/pelican.png b/themes/getpelican/static/img/pelican.png new file mode 100644 index 0000000..3cb3049 Binary files /dev/null and b/themes/getpelican/static/img/pelican.png differ diff --git a/themes/notmyidea/templates/archives.html b/themes/getpelican/templates/archives.html similarity index 100% rename from themes/notmyidea/templates/archives.html rename to themes/getpelican/templates/archives.html diff --git a/themes/getpelican/templates/article.html b/themes/getpelican/templates/article.html new file mode 100644 index 0000000..03c2409 --- /dev/null +++ b/themes/getpelican/templates/article.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} +{% block title %} + {{ article.title|striptags }} +{% endblock title %} +{% block content %} +
+
+
+

+ {{ article.title }} +

+ {% include 'twitter.html' %} + {% include 'article_infos.html' %} +
+
{{ article.content }}
+
+
+{% endblock content %} diff --git a/themes/getpelican/templates/article_infos.html b/themes/getpelican/templates/article_infos.html new file mode 100644 index 0000000..4a8a4c1 --- /dev/null +++ b/themes/getpelican/templates/article_infos.html @@ -0,0 +1,17 @@ +
+ + {% if article.author %} +
+ By {{ article.author }} +
+ {% endif %} +

+ In {{ article.category }}. + {% if PDF_PROCESSOR %}get the pdf{% endif %} +

+ {% include 'taglist.html' %} + {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
diff --git a/themes/getpelican/templates/author.html b/themes/getpelican/templates/author.html new file mode 100644 index 0000000..46eb989 --- /dev/null +++ b/themes/getpelican/templates/author.html @@ -0,0 +1,68 @@ +{% extends "index.html" %} +{% block title %}{{ author }}{% endblock %} +{% block content %} +
+

+ Articles written by {{ author }} +

+
+ {% if articles %} + {% for article in articles_page.object_list %} + {# First item #} + {% if loop.first and not articles_page.has_previous() %} + {% include "./includes/featured_article.html" %} + {% if loop.length > 1 %} +
+
+

Other articles

+
    + {% endif %} + {# other items #} + {% else %} +
    + {% if loop.first and articles_page.has_previous %} +
    +
      + {% endif %} +
    1. +
      +
      +

      + {{ article.title }} +

      +
      + {% include 'article_infos.html' %} +
      + {{ article.summary }} +
      + read more + {% include 'comments.html' %} +
      +
      +
      +
    2. + {% endif %} + {% if loop.last %} +
    + {% if loop.last and (articles_page.has_previous() + or not articles_page.has_previous() and loop.length > 1) %} + {% include 'pagination.html' %} + {% endif %} +
    + {% endif %} + {% endfor %} + {% else %} +
    +

    Pages

    + {% for page in PAGES %} +
  1. + {{ page.title }} +
  2. + {% endfor %} +
    +
    + {% endif %} +
+ {% endblock content %} diff --git a/themes/notmyidea/templates/authors.html b/themes/getpelican/templates/authors.html similarity index 100% rename from themes/notmyidea/templates/authors.html rename to themes/getpelican/templates/authors.html diff --git a/themes/getpelican/templates/base.html b/themes/getpelican/templates/base.html new file mode 100644 index 0000000..1cc951a --- /dev/null +++ b/themes/getpelican/templates/base.html @@ -0,0 +1,46 @@ + + + + + + + + + + {% block title %} + {{ SITENAME }} + {% endblock title %} + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + + + {% block extra_head %} + {% endblock extra_head %} + + + {% block header %} + {% include "./includes/topbar.html" %} + {% endblock header %} +
+ {% block content %} + {% endblock content %} +
+ another pelican +
+
+ {% include "./includes/footer.html" %} + + diff --git a/themes/getpelican/templates/categories.html b/themes/getpelican/templates/categories.html new file mode 100644 index 0000000..61b7be7 --- /dev/null +++ b/themes/getpelican/templates/categories.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block title %}Categories{% endblock %} +{% block content %} +
+

Categories

+ +
+{% endblock content %} diff --git a/themes/getpelican/templates/category.html b/themes/getpelican/templates/category.html new file mode 100644 index 0000000..ceb1e66 --- /dev/null +++ b/themes/getpelican/templates/category.html @@ -0,0 +1,70 @@ +{% extends "base.html" %} +{% block title %} + {{ SITENAME }} - {{ category }} +{% endblock title %} +{% block content %} +
+

+ Articles in {{ category }} category +

+
+ {% if articles %} + {% for article in articles_page.object_list %} + {# First item #} + {% if loop.first and not articles_page.has_previous() %} + {% include "./includes/featured_article.html" %} + {% if loop.length > 1 %} +
+
+

Other articles

+
    + {% endif %} + {# other items #} + {% else %} +
    + {% if loop.first and articles_page.has_previous %} +
    +
      + {% endif %} +
    1. +
      +
      +

      + {{ article.title }} +

      +
      + {% include 'article_infos.html' %} +
      + {{ article.summary }} +
      + read more + {% include 'comments.html' %} +
      +
      +
      +
    2. + {% endif %} + {% if loop.last %} +
    + {% if loop.last and (articles_page.has_previous() + or not articles_page.has_previous() and loop.length > 1) %} + {% include 'pagination.html' %} + {% endif %} +
    + {% endif %} + {% endfor %} + {% else %} +
    +

    Pages

    + {% for page in PAGES %} +
  1. + {{ page.title }} +
  2. + {% endfor %} +
    +
    + {% endif %} +
+ {% endblock content %} diff --git a/themes/getpelican/templates/comments.html b/themes/getpelican/templates/comments.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/getpelican/templates/homepage.html b/themes/getpelican/templates/homepage.html new file mode 100644 index 0000000..ad65dd2 --- /dev/null +++ b/themes/getpelican/templates/homepage.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% block header %} +
+ {{ super() }} + {% include "./includes/home_header.html" %} +
+{% endblock header %} +{% block content %} + {% include "./includes/home_features.html" %} +
+ another pelican +
+ {% include "./includes/home_quickstart.html" %} + {% include "./includes/home_support.html" %} + {% include "./includes/home_sponsors.html" %} +{% endblock content %} diff --git a/themes/getpelican/templates/includes/featured_article.html b/themes/getpelican/templates/includes/featured_article.html new file mode 100644 index 0000000..3dcd35a --- /dev/null +++ b/themes/getpelican/templates/includes/featured_article.html @@ -0,0 +1,16 @@ +
+
+
+

+ {{ article.title }} +

+ {% include 'article_infos.html' %} +
+
{{ article.content }}
+ {% include 'comments.html' %} +
+ {% if loop.length == 1 %} + {% include 'pagination.html' %} + {% endif %} +
diff --git a/themes/getpelican/templates/includes/footer.html b/themes/getpelican/templates/includes/footer.html new file mode 100644 index 0000000..85ce522 --- /dev/null +++ b/themes/getpelican/templates/includes/footer.html @@ -0,0 +1,59 @@ + diff --git a/themes/getpelican/templates/includes/home_features.html b/themes/getpelican/templates/includes/home_features.html new file mode 100644 index 0000000..1f9ff90 --- /dev/null +++ b/themes/getpelican/templates/includes/home_features.html @@ -0,0 +1,40 @@ +
+
+

Features

+

+ Pelican has everything you need to build your static site. The builds are fast and it is well laid out. +

+
+
+
+

Write content in reStructuredText or Markdown markup

+
+
+

Chronological content (e.g., articles, blog posts) as well as static pages

+
+
+

Integration with external services

+
+
+

Site themes (created using Jinja2 templates)

+
+
+

Publication of articles in multiple languages

+
+
+

Generation of Atom and RSS feeds

+
+
+

Code syntax highlighting via Pygments

+
+
+

Import existing content from WordPress, Dotclear, or RSS feeds

+
+
+

Fast rebuild times due to content caching and selective output writing

+
+
+

Extensible via a rich plugin ecosystem: Pelican Plugins

+
+
+
diff --git a/themes/getpelican/templates/includes/home_header.html b/themes/getpelican/templates/includes/home_header.html new file mode 100644 index 0000000..bdf92ad --- /dev/null +++ b/themes/getpelican/templates/includes/home_header.html @@ -0,0 +1,27 @@ +
+
+

+ Static site generator +
+ powered by Python +

+

+ Pelican is a static site generator that requires no database or server-side logic. +

+
+
+ Read the Docs +
+ +
+
+ a pelican +
+
+
diff --git a/themes/getpelican/templates/includes/home_quickstart.html b/themes/getpelican/templates/includes/home_quickstart.html new file mode 100644 index 0000000..dcdb2ce --- /dev/null +++ b/themes/getpelican/templates/includes/home_quickstart.html @@ -0,0 +1,69 @@ +
+
+
+

Quickstart

+

+ Reading through all the documentation is highly recommended, but for the truly impatient, following are some quick steps to get started. +

+
+ {# 1 #} +
+
+ 1 +
+

Installation

+
+
+

Install Pelican and Markdown.

+
python -m pip install "pelican[markdown]"
+
+ {# 2 #} +
+
+ 2 +
+

Create a project

+
+
+

Create a folder for your site and create a skeleton project inside of it.

+
mkdir -p ~/projects/yoursite
+cd ~/projects/yoursite
+pelican-quickstart
+
+

+ When asked for your URL prefix, enter your domain name as indicated (e.g., https://example.com). +

+
+ {# 3 #} +
+
+ 3 +
+

Create an article

+
+
+

+ Create your first article with the following content in ~/projects/yoursite/content/keyboard-review.md: +

+
Title: My First Review
+Date: 2010-12-03 10:20
+Category: Review
+
+Following is a review of my favorite mechanical keyboard.
+
+ {# 4 #} +
+
+ 4 +
+

Preview your site

+
+
+
pelican -r -l
+

+ Preview your site by navigating to http://localhost:8000/ in your browser. +

+
+
+
+
diff --git a/themes/getpelican/templates/includes/home_sponsors.html b/themes/getpelican/templates/includes/home_sponsors.html new file mode 100644 index 0000000..ab3c6ac --- /dev/null +++ b/themes/getpelican/templates/includes/home_sponsors.html @@ -0,0 +1,20 @@ +
+
+

Pelican is supported by…

+
+
+
+ +
+
+
+

Thank you! ❤️

+
+
diff --git a/themes/getpelican/templates/includes/home_support.html b/themes/getpelican/templates/includes/home_support.html new file mode 100644 index 0000000..027fad2 --- /dev/null +++ b/themes/getpelican/templates/includes/home_support.html @@ -0,0 +1,17 @@ +
+
+

Support

+

Following are ways you can support Pelican’s development:

+ +
+
diff --git a/themes/getpelican/templates/includes/topbar.html b/themes/getpelican/templates/includes/topbar.html new file mode 100644 index 0000000..ca2cc5f --- /dev/null +++ b/themes/getpelican/templates/includes/topbar.html @@ -0,0 +1,23 @@ +
+ +
diff --git a/themes/getpelican/templates/index.html b/themes/getpelican/templates/index.html new file mode 100644 index 0000000..7564a60 --- /dev/null +++ b/themes/getpelican/templates/index.html @@ -0,0 +1,62 @@ +{% extends "base.html" %} +{% block content %} + {% if articles %} + {% for article in articles_page.object_list %} + {# First item #} + {% if loop.first and not articles_page.has_previous() %} + {% include "./includes/featured_article.html" %} + {% if loop.length > 1 %} +
+
+

Other articles

+
    + {% endif %} + {# other items #} + {% else %} +
    + {% if loop.first and articles_page.has_previous %} +
    +
      + {% endif %} +
    1. +
      +
      +

      + {{ article.title }} +

      +
      + {% include 'article_infos.html' %} +
      + {{ article.summary }} +
      + read more + {% include 'comments.html' %} +
      +
      +
      +
    2. + {% endif %} + {% if loop.last %} +
    + {% if loop.last and (articles_page.has_previous() + or not articles_page.has_previous() and loop.length > 1) %} + {% include 'pagination.html' %} + {% endif %} +
    + {% endif %} + {% endfor %} + {% else %} +
    +

    Pages

    + {% for page in PAGES %} +
  1. + {{ page.title }} +
  2. + {% endfor %} +
    +
    + {% endif %} +
+ {% endblock content %} diff --git a/themes/getpelican/templates/page.html b/themes/getpelican/templates/page.html new file mode 100644 index 0000000..c820f65 --- /dev/null +++ b/themes/getpelican/templates/page.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% block title %} + {{ page.title }} +{% endblock title %} +{% block content %} +
+
+

{{ page.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + {% if PDF_PROCESSOR %} + get + the pdf + {% endif %} +
+
{{ page.content }}
+
+{% endblock content %} diff --git a/themes/getpelican/templates/pagination.html b/themes/getpelican/templates/pagination.html new file mode 100644 index 0000000..bdb5697 --- /dev/null +++ b/themes/getpelican/templates/pagination.html @@ -0,0 +1,19 @@ +{% if DEFAULT_PAGINATION %} + {% set first_page = articles_paginator.page(1) %} + {% set last_page = articles_paginator.page(articles_paginator.num_pages) %} +
+

+ {% if articles_page.has_previous() %} + + + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + + + {% endif %} +

+
+{% endif %} diff --git a/themes/getpelican/templates/tag.html b/themes/getpelican/templates/tag.html new file mode 100644 index 0000000..e75620c --- /dev/null +++ b/themes/getpelican/templates/tag.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% block title %} + {{ SITENAME }} - {{ tag }} +{% endblock title %} +{% block content %} +

+ Articles tagged with {{ tag }} +

+ +{% endblock content %} diff --git a/themes/getpelican/templates/taglist.html b/themes/getpelican/templates/taglist.html new file mode 100644 index 0000000..70e2cd2 --- /dev/null +++ b/themes/getpelican/templates/taglist.html @@ -0,0 +1,11 @@ +{% if article.tags %} +

+ tags: + {% for tag in article.tags %}{{ tag }}{% endfor %} +

+{% endif %} +{% if PDF_PROCESSOR %} +

+ get the pdf +

+{% endif %} diff --git a/themes/getpelican/templates/tags.html b/themes/getpelican/templates/tags.html new file mode 100644 index 0000000..46bb086 --- /dev/null +++ b/themes/getpelican/templates/tags.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% block title %} + Tags +{% endblock title %} +{% block content %} +
+

Tags

+ +
+{% endblock content %} diff --git a/themes/notmyidea/templates/translations.html b/themes/getpelican/templates/translations.html similarity index 100% rename from themes/notmyidea/templates/translations.html rename to themes/getpelican/templates/translations.html diff --git a/themes/notmyidea/templates/twitter.html b/themes/getpelican/templates/twitter.html similarity index 100% rename from themes/notmyidea/templates/twitter.html rename to themes/getpelican/templates/twitter.html diff --git a/themes/notmyidea/static/css/fonts.css b/themes/notmyidea/static/css/fonts.css deleted file mode 100644 index 5601507..0000000 --- a/themes/notmyidea/static/css/fonts.css +++ /dev/null @@ -1,12 +0,0 @@ -@font-face { - font-family: 'Yanone Kaffeesatz'; - font-style: normal; - font-weight: 400; - src: - local('Yanone Kaffeesatz Regular'), - local('YanoneKaffeesatz-Regular'), - /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLRTHiN2BPBirwIkMLKUspj4.woff */ - url('../fonts/Yanone_Kaffeesatz_400.woff') format('woff'), - /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLfGwxTS8d1Q9KiDNCMKLFUM.woff2 */ - url('../fonts/Yanone_Kaffeesatz_400.woff2') format('woff2'); -} diff --git a/themes/notmyidea/static/css/main.css b/themes/notmyidea/static/css/main.css deleted file mode 100644 index 3d154fc..0000000 --- a/themes/notmyidea/static/css/main.css +++ /dev/null @@ -1,451 +0,0 @@ -/* - Name: Smashing HTML5 - Date: July 2009 - Description: Sample layout for HTML5 and CSS3 goodness. - Version: 1.0 - License: MIT - Licensed by: Smashing Media GmbH - Original author: Enrique Ramírez -*/ - -/* Imports */ -@import url("reset.css"); -@import url("pygment.css"); -@import url("typogrify.css"); -@import url("fonts.css"); - -/***** Global *****/ -/* Body */ -body { - background: #F5F4EF; - color: #000305; - font-size: 87.5%; /* Base font size: 14px */ - font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; - line-height: 1.429; - margin: 0; - padding: 0; - text-align: left; -} - -/* Headings */ -h1 {font-size: 2em } -h2 {font-size: 1.571em} /* 22px */ -h3 {font-size: 1.429em} /* 20px */ -h4 {font-size: 1.286em} /* 18px */ -h5 {font-size: 1.143em} /* 16px */ -h6 {font-size: 1em} /* 14px */ - -h1, h2, h3, h4, h5, h6 { - font-weight: 400; - line-height: 1.1; - margin-bottom: .8em; - font-family: 'Yanone Kaffeesatz', arial, serif; -} - -h3, h4, h5, h6 { margin-top: .8em; } - -hr { border: 2px solid #EEEEEE; } - -/* Anchors */ -a {outline: 0;} -a img {border: 0px; text-decoration: none;} -a:link, a:visited { - color: #C74350; - padding: 0 1px; - text-decoration: underline; -} -a:hover, a:active { - background-color: #C74350; - color: #fff; - text-decoration: none; - text-shadow: 1px 1px 1px #333; -} - -h1 a:hover { - background-color: inherit -} - -/* Paragraphs */ -div.line-block, -p { margin-top: 1em; - margin-bottom: 1em;} - -strong, b {font-weight: bold;} -em, i {font-style: italic;} - -/* Lists */ -ul { - list-style: outside disc; - margin: 0em 0 0 1.5em; -} - -ol { - list-style: outside decimal; - margin: 0em 0 0 1.5em; -} - -li { margin-top: 0.5em; - margin-bottom: 1em; } - -.post-info { - float:right; - margin:10px; - padding:5px; -} - -.post-info p{ - margin-top: 1px; - margin-bottom: 1px; -} - -.readmore { float: right } - -dl {margin: 0 0 1.5em 0;} -dt {font-weight: bold;} -dd {margin-left: 1.5em;} - -pre{background-color: rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;} - -/* Quotes */ -blockquote { - margin: 20px; - font-style: italic; -} -cite {} - -q {} - -div.note { - float: right; - margin: 5px; - font-size: 85%; - max-width: 300px; -} - -/* Tables */ -table {margin: .5em auto 1.5em auto; width: 98%;} - - /* Thead */ - thead th {padding: .5em .4em; text-align: left;} - thead td {} - - /* Tbody */ - tbody td {padding: .5em .4em;} - tbody th {} - - tbody .alt td {} - tbody .alt th {} - - /* Tfoot */ - tfoot th {} - tfoot td {} - -/* HTML5 tags */ -header, section, footer, -aside, nav, article, figure { - display: block; -} - -/***** Layout *****/ -.body {clear: both; margin: 0 auto; width: 800px;} -img.right, figure.right {float: right; margin: 0 0 2em 2em;} -img.left, figure.left {float: left; margin: 0 2em 2em 0;} - -/* - Header -*****************/ -#banner { - margin: 0 auto; - padding: 2.5em 0 0 0; -} - - /* Banner */ - #banner h1 {font-size: 3.571em; line-height: 0;} - #banner h1 a:link, #banner h1 a:visited { - color: #000305; - display: block; - font-weight: bold; - margin: 0 0 .6em .2em; - text-decoration: none; - } - #banner h1 a:hover, #banner h1 a:active { - background: none; - color: #C74350; - text-shadow: none; - } - - #banner h1 strong {font-size: 0.36em; font-weight: normal;} - - /* Main Nav */ - #banner nav { - background: #000305; - font-size: 1.143em; - height: 40px; - line-height: 30px; - margin: 0 auto 2em auto; - padding: 0; - text-align: center; - width: 800px; - - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - } - - #banner nav ul {list-style: none; margin: 0 auto; width: 800px;} - #banner nav li {float: left; display: inline; margin: 0;} - - #banner nav a:link, #banner nav a:visited { - color: #fff; - display: inline-block; - height: 30px; - padding: 5px 1.5em; - text-decoration: none; - } - #banner nav a:hover, #banner nav a:active, - #banner nav .active a:link, #banner nav .active a:visited { - background: #C74451; - color: #fff; - text-shadow: none !important; - } - - #banner nav li:first-child a { - border-top-left-radius: 5px; - -moz-border-radius-topleft: 5px; - -webkit-border-top-left-radius: 5px; - - border-bottom-left-radius: 5px; - -moz-border-radius-bottomleft: 5px; - -webkit-border-bottom-left-radius: 5px; - } - -/* - Featured -*****************/ -#featured { - background: #fff; - margin-bottom: 2em; - overflow: hidden; - padding: 20px; - width: 760px; - - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; -} - -#featured figure { - border: 2px solid #eee; - float: right; - margin: 0.786em 2em 0 5em; - width: 248px; -} -#featured figure img {display: block; float: right;} - -#featured h2 {color: #C74451; font-size: 1.714em; margin-bottom: 0.333em;} -#featured h3 {font-size: 1.429em; margin-bottom: .5em;} - -#featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;} -#featured h3 a:hover, #featured h3 a:active {color: #fff;} - -/* - Body -*****************/ -#content { - background: #fff; - margin-bottom: 2em; - overflow: hidden; - padding: 20px 20px; - width: 760px; - - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; -} - -/* - Extras -*****************/ -#extras {margin: 0 auto 3em auto; overflow: hidden;} - -#extras ul {list-style: none; margin: 0;} -#extras li {border-bottom: 1px solid #fff;} -#extras h2 { - color: #C74350; - font-size: 1.429em; - margin-bottom: .25em; - padding: 0 3px; -} - -#extras a:link, #extras a:visited { - color: #444; - display: block; - border-bottom: 1px solid #F4E3E3; - text-decoration: none; - padding: .3em .25em; -} - -#extras a:hover, #extras a:active {color: #fff;} - - /* Blogroll */ - #extras .blogroll { - float: left; - width: 615px; - } - - #extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;} - - /* Social */ - #extras .social { - float: right; - width: 175px; - } - - #extras div[class='social'] a { - background-repeat: no-repeat; - background-position: 3px 6px; - padding-left: 25px; - } - - /* Icons */ - .social a[href*='about.me'] {background-image: url('../images/icons/aboutme.png');} - .social a[href*='bitbucket.org'] {background-image: url('../images/icons/bitbucket.png');} - .social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');} - .social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');} - .social a[href*='gitorious.org'] {background-image: url('../images/icons/gitorious.png');} - .social a[href*='github.com'], - .social a[href*='git.io'] { - background-image: url('../images/icons/github.png'); - background-size: 16px 16px; - } - .social a[href*='gittip.com'] {background-image: url('../images/icons/gittip.png');} - .social a[href*='plus.google.com'] {background-image: url('../images/icons/google-plus.png');} - .social a[href*='groups.google.com'] {background-image: url('../images/icons/google-groups.png');} - .social a[href*='news.ycombinator.com'], - .social a[href*='hackernewsers.com'] {background-image: url('../images/icons/hackernews.png');} - .social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');} - .social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');} - .social a[href*='reddit.com'] {background-image: url('../images/icons/reddit.png');} - .social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');} - .social a[href*='slideshare.net'] {background-image: url('../images/icons/slideshare.png');} - .social a[href*='speakerdeck.com'] {background-image: url('../images/icons/speakerdeck.png');} - .social a[href*='stackoverflow.com'] {background-image: url('../images/icons/stackoverflow.png');} - .social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');} - .social a[href*='vimeo.com'] {background-image: url('../images/icons/vimeo.png');} - .social a[href*='youtube.com'] {background-image: url('../images/icons/youtube.png');} - -/* - About -*****************/ -#about { - background: #fff; - font-style: normal; - margin-bottom: 2em; - overflow: hidden; - padding: 20px; - text-align: left; - width: 760px; - - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; -} - -#about .primary {float: left; width: 165px;} -#about .primary strong {color: #C64350; display: block; font-size: 1.286em;} -#about .photo {float: left; margin: 5px 20px;} - -#about .url:link, #about .url:visited {text-decoration: none;} - -#about .bio {float: right; width: 500px;} - -/* - Footer -*****************/ -#contentinfo {padding-bottom: 2em; text-align: right;} - -/***** Sections *****/ -/* Blog */ -.hentry { - display: block; - clear: both; - border-bottom: 1px solid #eee; - padding: 1.5em 0; -} -li:last-child .hentry, #content > .hentry {border: 0; margin: 0;} -#content > .hentry {padding: 1em 0;} -.hentry img{display : none ;} -.entry-title {font-size: 3em; margin-bottom: 10px; margin-top: 0;} -.entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;} -.entry-title a:visited {background-color: #fff;} - -.hentry .post-info * {font-style: normal;} - - /* Content */ - .hentry footer {margin-bottom: 2em;} - .hentry footer address {display: inline;} - #posts-list footer address {display: block;} - - /* Blog Index */ - #posts-list {list-style: none; margin: 0;} - #posts-list .hentry {padding-left: 10px; position: relative;} - - #posts-list footer { - left: 10px; - position: relative; - float: left; - top: 0.5em; - width: 190px; - } - - /* About the Author */ - #about-author { - background: #f9f9f9; - clear: both; - font-style: normal; - margin: 2em 0; - padding: 10px 20px 15px 20px; - - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - } - - #about-author strong { - color: #C64350; - clear: both; - display: block; - font-size: 1.429em; - } - - #about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;} - - /* Comments */ - #comments-list {list-style: none; margin: 0 1em;} - #comments-list blockquote { - background: #f8f8f8; - clear: both; - font-style: normal; - margin: 0; - padding: 15px 20px; - - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - } - #comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;} - - #comments-list li:nth-child(2n) blockquote {background: #F5f5f5;} - - /* Add a Comment */ - #add-comment label {clear: left; float: left; text-align: left; width: 150px;} - #add-comment input[type='text'], - #add-comment input[type='email'], - #add-comment input[type='url'] {float: left; width: 200px;} - - #add-comment textarea {float: left; height: 150px; width: 495px;} - - #add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;} - - #add-comment input[type='submit'] {float: right; margin: 0 .5em;} - #add-comment * {margin-bottom: .5em;} diff --git a/themes/notmyidea/static/css/pygment.css b/themes/notmyidea/static/css/pygment.css deleted file mode 100644 index fdd056f..0000000 --- a/themes/notmyidea/static/css/pygment.css +++ /dev/null @@ -1,205 +0,0 @@ -.hll { -background-color:#eee; -} -.c { -color:#408090; -font-style:italic; -} -.err { -border:1px solid #FF0000; -} -.k { -color:#007020; -font-weight:bold; -} -.o { -color:#666666; -} -.cm { -color:#408090; -font-style:italic; -} -.cp { -color:#007020; -} -.c1 { -color:#408090; -font-style:italic; -} -.cs { -background-color:#FFF0F0; -color:#408090; -} -.gd { -color:#A00000; -} -.ge { -font-style:italic; -} -.gr { -color:#FF0000; -} -.gh { -color:#000080; -font-weight:bold; -} -.gi { -color:#00A000; -} -.go { -color:#303030; -} -.gp { -color:#C65D09; -font-weight:bold; -} -.gs { -font-weight:bold; -} -.gu { -color:#800080; -font-weight:bold; -} -.gt { -color:#0040D0; -} -.kc { -color:#007020; -font-weight:bold; -} -.kd { -color:#007020; -font-weight:bold; -} -.kn { -color:#007020; -font-weight:bold; -} -.kp { -color:#007020; -} -.kr { -color:#007020; -font-weight:bold; -} -.kt { -color:#902000; -} -.m { -color:#208050; -} -.s { -color:#4070A0; -} -.na { -color:#4070A0; -} -.nb { -color:#007020; -} -.nc { -color:#0E84B5; -font-weight:bold; -} -.no { -color:#60ADD5; -} -.nd { -color:#555555; -font-weight:bold; -} -.ni { -color:#D55537; -font-weight:bold; -} -.ne { -color:#007020; -} -.nf { -color:#06287E; -} -.nl { -color:#002070; -font-weight:bold; -} -.nn { -color:#0E84B5; -font-weight:bold; -} -.nt { -color:#062873; -font-weight:bold; -} -.nv { -color:#BB60D5; -} -.ow { -color:#007020; -font-weight:bold; -} -.w { -color:#BBBBBB; -} -.mf { -color:#208050; -} -.mh { -color:#208050; -} -.mi { -color:#208050; -} -.mo { -color:#208050; -} -.sb { -color:#4070A0; -} -.sc { -color:#4070A0; -} -.sd { -color:#4070A0; -font-style:italic; -} -.s2 { -color:#4070A0; -} -.se { -color:#4070A0; -font-weight:bold; -} -.sh { -color:#4070A0; -} -.si { -color:#70A0D0; -font-style:italic; -} -.sx { -color:#C65D09; -} -.sr { -color:#235388; -} -.s1 { -color:#4070A0; -} -.ss { -color:#517918; -} -.bp { -color:#007020; -} -.vc { -color:#BB60D5; -} -.vg { -color:#BB60D5; -} -.vi { -color:#BB60D5; -} -.il { -color:#208050; -} diff --git a/themes/notmyidea/static/css/reset.css b/themes/notmyidea/static/css/reset.css deleted file mode 100644 index f5123cf..0000000 --- a/themes/notmyidea/static/css/reset.css +++ /dev/null @@ -1,52 +0,0 @@ -/* - Name: Reset Stylesheet - Description: Resets browser's default CSS - Author: Eric Meyer - Author URI: https://meyerweb.com/eric/tools/css/reset/ -*/ - -/* v1.0 | 20080212 */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - background: transparent; - border: 0; - font-size: 100%; - margin: 0; - outline: 0; - padding: 0; - vertical-align: baseline; -} - -body {line-height: 1;} - -ol, ul {list-style: none;} - -blockquote, q {quotes: none;} - -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} - -/* remember to define focus styles! */ -:focus { - outline: 0; -} - -/* remember to highlight inserts somehow! */ -ins {text-decoration: none;} -del {text-decoration: line-through;} - -/* tables still need 'cellspacing="0"' in the markup */ -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/themes/notmyidea/static/css/typogrify.css b/themes/notmyidea/static/css/typogrify.css deleted file mode 100644 index 3bae497..0000000 --- a/themes/notmyidea/static/css/typogrify.css +++ /dev/null @@ -1,3 +0,0 @@ -.caps {font-size:.92em;} -.amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;} -.dquo {margin-left:-.38em;} diff --git a/themes/notmyidea/static/css/wide.css b/themes/notmyidea/static/css/wide.css deleted file mode 100644 index 88fd59c..0000000 --- a/themes/notmyidea/static/css/wide.css +++ /dev/null @@ -1,48 +0,0 @@ -@import url("main.css"); - -body { - font:1.3em/1.3 "Hoefler Text","Georgia",Georgia,serif,sans-serif; -} - -.post-info{ - display: none; -} - -#banner nav { - display: none; - -moz-border-radius: 0px; - margin-bottom: 20px; - overflow: hidden; - font-size: 1em; - background: #F5F4EF; -} - -#banner nav ul{ - padding-right: 50px; -} - -#banner nav li{ - float: right; - color: #000; -} - -#banner nav li a { - color: #000; -} - -#banner h1 { - margin-bottom: -18px; -} - -#featured, #extras { - padding: 50px; -} - -#featured { - padding-top: 20px; -} - -#extras { - padding-top: 0px; - padding-bottom: 0px; -} diff --git a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.eot b/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.eot deleted file mode 100644 index b3b90db..0000000 Binary files a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.eot and /dev/null differ diff --git a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.svg b/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.svg deleted file mode 100644 index a69669b..0000000 --- a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.svg +++ /dev/null @@ -1,407 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.ttf b/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.ttf deleted file mode 100644 index 6f4feb0..0000000 Binary files a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.ttf and /dev/null differ diff --git a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff b/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff deleted file mode 100644 index ddccf76..0000000 Binary files a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff and /dev/null differ diff --git a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff2 b/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff2 deleted file mode 100644 index 7b18f7e..0000000 Binary files a/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff2 and /dev/null differ diff --git a/themes/notmyidea/static/fonts/font.css b/themes/notmyidea/static/fonts/font.css deleted file mode 100644 index a9eb87e..0000000 --- a/themes/notmyidea/static/fonts/font.css +++ /dev/null @@ -1,12 +0,0 @@ -@font-face { - font-family: 'Yanone Kaffeesatz'; - font-style: normal; - font-weight: 400; - src: - local('Yanone Kaffeesatz Regular'), - local('YanoneKaffeesatz-Regular'), - /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLRTHiN2BPBirwIkMLKUspj4.woff */ - url('Yanone_Kaffeesatz_400.woff') format('woff'), - /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLfGwxTS8d1Q9KiDNCMKLFUM.woff2 */ - url('Yanone_Kaffeesatz_400.woff2') format('woff2'); -} diff --git a/themes/notmyidea/static/images/icons/aboutme.png b/themes/notmyidea/static/images/icons/aboutme.png deleted file mode 100644 index 600110f..0000000 Binary files a/themes/notmyidea/static/images/icons/aboutme.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/bitbucket.png b/themes/notmyidea/static/images/icons/bitbucket.png deleted file mode 100644 index 277a7df..0000000 Binary files a/themes/notmyidea/static/images/icons/bitbucket.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/delicious.png b/themes/notmyidea/static/images/icons/delicious.png deleted file mode 100644 index 34868c5..0000000 Binary files a/themes/notmyidea/static/images/icons/delicious.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/facebook.png b/themes/notmyidea/static/images/icons/facebook.png deleted file mode 100644 index 1d8a432..0000000 Binary files a/themes/notmyidea/static/images/icons/facebook.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/github.png b/themes/notmyidea/static/images/icons/github.png deleted file mode 100644 index 5d9109d..0000000 Binary files a/themes/notmyidea/static/images/icons/github.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/gitorious.png b/themes/notmyidea/static/images/icons/gitorious.png deleted file mode 100644 index a6705d0..0000000 Binary files a/themes/notmyidea/static/images/icons/gitorious.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/gittip.png b/themes/notmyidea/static/images/icons/gittip.png deleted file mode 100644 index b9f67aa..0000000 Binary files a/themes/notmyidea/static/images/icons/gittip.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/google-groups.png b/themes/notmyidea/static/images/icons/google-groups.png deleted file mode 100644 index bbd0a0f..0000000 Binary files a/themes/notmyidea/static/images/icons/google-groups.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/google-plus.png b/themes/notmyidea/static/images/icons/google-plus.png deleted file mode 100644 index f8553d4..0000000 Binary files a/themes/notmyidea/static/images/icons/google-plus.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/hackernews.png b/themes/notmyidea/static/images/icons/hackernews.png deleted file mode 100644 index 8e05e3e..0000000 Binary files a/themes/notmyidea/static/images/icons/hackernews.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/lastfm.png b/themes/notmyidea/static/images/icons/lastfm.png deleted file mode 100644 index 2eedd2d..0000000 Binary files a/themes/notmyidea/static/images/icons/lastfm.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/linkedin.png b/themes/notmyidea/static/images/icons/linkedin.png deleted file mode 100644 index 06a8801..0000000 Binary files a/themes/notmyidea/static/images/icons/linkedin.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/reddit.png b/themes/notmyidea/static/images/icons/reddit.png deleted file mode 100644 index d826d3e..0000000 Binary files a/themes/notmyidea/static/images/icons/reddit.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/rss.png b/themes/notmyidea/static/images/icons/rss.png deleted file mode 100644 index 12448f5..0000000 Binary files a/themes/notmyidea/static/images/icons/rss.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/slideshare.png b/themes/notmyidea/static/images/icons/slideshare.png deleted file mode 100644 index 9cbe858..0000000 Binary files a/themes/notmyidea/static/images/icons/slideshare.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/speakerdeck.png b/themes/notmyidea/static/images/icons/speakerdeck.png deleted file mode 100644 index 7281ec4..0000000 Binary files a/themes/notmyidea/static/images/icons/speakerdeck.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/stackoverflow.png b/themes/notmyidea/static/images/icons/stackoverflow.png deleted file mode 100644 index 3c6862e..0000000 Binary files a/themes/notmyidea/static/images/icons/stackoverflow.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/twitter.png b/themes/notmyidea/static/images/icons/twitter.png deleted file mode 100644 index cef1cef..0000000 Binary files a/themes/notmyidea/static/images/icons/twitter.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/vimeo.png b/themes/notmyidea/static/images/icons/vimeo.png deleted file mode 100644 index 4b9d721..0000000 Binary files a/themes/notmyidea/static/images/icons/vimeo.png and /dev/null differ diff --git a/themes/notmyidea/static/images/icons/youtube.png b/themes/notmyidea/static/images/icons/youtube.png deleted file mode 100644 index e334e68..0000000 Binary files a/themes/notmyidea/static/images/icons/youtube.png and /dev/null differ diff --git a/themes/notmyidea/templates/article.html b/themes/notmyidea/templates/article.html deleted file mode 100644 index 516fd3b..0000000 --- a/themes/notmyidea/templates/article.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ article.title|striptags }}{% endblock %} -{% block content %} -
-
-
-

- {{ article.title}}

- {% include 'twitter.html' %} -
- -
- {% include 'article_infos.html' %} - {{ article.content }} -
- {% if DISQUS_SITENAME and SITEURL and article.status != "draft" %} -
-

Comments !

-
- -
- {% endif %} - -
-
-{% endblock %} diff --git a/themes/notmyidea/templates/article_infos.html b/themes/notmyidea/templates/article_infos.html deleted file mode 100644 index 4b86716..0000000 --- a/themes/notmyidea/templates/article_infos.html +++ /dev/null @@ -1,15 +0,0 @@ -
- - {{ article.locale_date }} - - - {% if article.author %} -
- By {{ article.author }} -
- {% endif %} -

In {{ article.category }}. {% if PDF_PROCESSOR %}get the pdf{% endif %}

-{% include 'taglist.html' %} -{% import 'translations.html' as translations with context %} -{{ translations.translations_for(article) }} -
diff --git a/themes/notmyidea/templates/author.html b/themes/notmyidea/templates/author.html deleted file mode 100644 index 0b37290..0000000 --- a/themes/notmyidea/templates/author.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "index.html" %} -{% block title %}{{ SITENAME }} - {{ author }}{% endblock %} diff --git a/themes/notmyidea/templates/base.html b/themes/notmyidea/templates/base.html deleted file mode 100644 index da6184e..0000000 --- a/themes/notmyidea/templates/base.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - {% block title %}{{ SITENAME }}{%endblock%} - - {% if FEED_ALL_ATOM %} - - {% endif %} - {% if FEED_ALL_RSS %} - - {% endif %} - - - - - -{% include 'github.html' %} - - {% block content %} - {% endblock %} -
- {% if LINKS %} -
-

{{ LINKS_WIDGET_NAME | default('links') }}

-
    - {% for name, link in LINKS %} -
  • {{ name }}
  • - {% endfor %} -
-
- {% endif %} - {% if SOCIAL or FEED_ALL_ATOM or FEED_ALL_RSS %} - - {% endif %} -
- - - - - diff --git a/themes/notmyidea/templates/category.html b/themes/notmyidea/templates/category.html deleted file mode 100644 index 56f8e93..0000000 --- a/themes/notmyidea/templates/category.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "index.html" %} -{% block title %}{{ SITENAME }} - {{ category }}{% endblock %} diff --git a/themes/notmyidea/templates/comments.html b/themes/notmyidea/templates/comments.html deleted file mode 100644 index bb033c0..0000000 --- a/themes/notmyidea/templates/comments.html +++ /dev/null @@ -1 +0,0 @@ -{% if DISQUS_SITENAME %}

There are comments.

{% endif %} diff --git a/themes/notmyidea/templates/github.html b/themes/notmyidea/templates/github.html deleted file mode 100644 index 75592ac..0000000 --- a/themes/notmyidea/templates/github.html +++ /dev/null @@ -1,9 +0,0 @@ -{% if GITHUB_URL %} - -{% if GITHUB_POSITION != "left" %} -Fork me on GitHub -{% else %} -Fork me on GitHub -{% endif %} - -{% endif %} diff --git a/themes/notmyidea/templates/index.html b/themes/notmyidea/templates/index.html deleted file mode 100644 index 8752a6b..0000000 --- a/themes/notmyidea/templates/index.html +++ /dev/null @@ -1,61 +0,0 @@ -{% extends "base.html" %} -{% block content_title %}{% endblock %} -{% block content %} -{% if articles %} - {% for article in articles_page.object_list %} - - {# First item #} - {% if loop.first and not articles_page.has_previous() %} - - {% if loop.length > 1 %} -
-

Other articles

-
-
    - {% endif %} - {# other items #} - {% else %} - {% if loop.first and articles_page.has_previous %} -
    -
      - {% endif %} -
    1. -
      -

      {{ article.title }}

      -
      - -
      - {% include 'article_infos.html' %} - {{ article.summary }} - read more - {% include 'comments.html' %} -
      -
    2. - {% endif %} - {% if loop.last %} -
    - {% if loop.last and (articles_page.has_previous() - or not articles_page.has_previous() and loop.length > 1) %} - {% include 'pagination.html' %} - {% endif %} -
    - {% endif %} - {% endfor %} -{% else %} -
    -

    Pages

    - {% for page in PAGES %} -
  1. {{ page.title }}
  2. - {% endfor %} -
    -{% endif %} -{% endblock content %} diff --git a/themes/notmyidea/templates/page.html b/themes/notmyidea/templates/page.html deleted file mode 100644 index 5ac50b6..0000000 --- a/themes/notmyidea/templates/page.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ page.title }}{% endblock %} -{% block content %} -
    -

    {{ page.title }}

    - {% import 'translations.html' as translations with context %} - {{ translations.translations_for(page) }} - {% if PDF_PROCESSOR %}get - the pdf{% endif %} - {{ page.content }} -
    -{% endblock %} diff --git a/themes/notmyidea/templates/tag.html b/themes/notmyidea/templates/tag.html deleted file mode 100644 index 68cdcba..0000000 --- a/themes/notmyidea/templates/tag.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "index.html" %} -{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} diff --git a/themes/notmyidea/templates/taglist.html b/themes/notmyidea/templates/taglist.html deleted file mode 100644 index c792fd7..0000000 --- a/themes/notmyidea/templates/taglist.html +++ /dev/null @@ -1,2 +0,0 @@ -{% if article.tags %}

    tags: {% for tag in article.tags %}{{ tag }}{% endfor %}

    {% endif %} -{% if PDF_PROCESSOR %}

    get the pdf

    {% endif %}