diff --git a/.DS_Store b/.DS_Store index fc23fd7..8563f2a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/__pycache__/pelicanconf.cpython-313.pyc b/__pycache__/pelicanconf.cpython-313.pyc index 22f157f..e044eda 100644 Binary files a/__pycache__/pelicanconf.cpython-313.pyc and b/__pycache__/pelicanconf.cpython-313.pyc differ diff --git a/content/license.xml b/content/license.xml new file mode 100644 index 0000000..82ab24d --- /dev/null +++ b/content/license.xml @@ -0,0 +1,7 @@ + + + + ai-train ai-input + + + diff --git a/content/newsletter/craft-letter-1.md b/content/newsletter/craft-letter-1.md index ad70664..e5c8920 100644 --- a/content/newsletter/craft-letter-1.md +++ b/content/newsletter/craft-letter-1.md @@ -2,7 +2,23 @@ Title: Lettre n°1 Date: 2025-12-08 10:20 Category: Newsletter - + ![Logo Craft Letter]({static}/images/craftletter.svg) diff --git a/content/newsletter/craft-letter-2.md b/content/newsletter/craft-letter-2.md index aa29415..023a79d 100644 --- a/content/newsletter/craft-letter-2.md +++ b/content/newsletter/craft-letter-2.md @@ -3,6 +3,23 @@ Date: 2025-12-15 09:00 Category: Newsletter + ![Logo Craft Letter]({static}/images/craftletter.svg) diff --git a/content/pages/index.md b/content/pages/index.md index a7c3933..3e33eca 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -4,7 +4,25 @@ URL: save_as: index.html Category: Home -![Logo Craft Letter]({static}/images/craftletter.svg) + + + La Craft Letter est une newsletter hebdomadaire dans laquelle je partage des articles issues de ma veille technologique. Vous y trouverez des articles relatifs au développement logiciel d'une façon générale, qu'il soit front-end, back-end ou autre. Mais aussi des articles consacrés à l'architecture logicielle, la méthodologie, les outils, des projets open source, des conférences... diff --git a/content/robots.txt b/content/robots.txt index b73e272..176a9a3 100644 --- a/content/robots.txt +++ b/content/robots.txt @@ -18,3 +18,5 @@ Disallow: / User-agent: * Sitemap: https://www.craftletter.fr/sitemap.xml + +License: https://example.com/license.xml diff --git a/logo/Logo craftletter - fond transparent.png b/logo/Logo craftletter - fond transparent.png new file mode 100644 index 0000000..dfb895a Binary files /dev/null and b/logo/Logo craftletter - fond transparent.png differ diff --git a/logo/Logo craftletter vert.svg b/logo/Logo craftletter vert.svg new file mode 100644 index 0000000..0f300a0 --- /dev/null +++ b/logo/Logo craftletter vert.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/logo/LogoCraftLetter - 800 - no borderpx.png b/logo/LogoCraftLetter - 800 - no borderpx.png new file mode 100644 index 0000000..c50b13e Binary files /dev/null and b/logo/LogoCraftLetter - 800 - no borderpx.png differ diff --git a/logo/LogoCraftLetter - 800px.png b/logo/LogoCraftLetter - 800px.png new file mode 100644 index 0000000..c412230 Binary files /dev/null and b/logo/LogoCraftLetter - 800px.png differ diff --git a/logo/LogoCraftLetter - large.png b/logo/LogoCraftLetter - large.png new file mode 100644 index 0000000..1d30ba2 Binary files /dev/null and b/logo/LogoCraftLetter - large.png differ diff --git a/pelicanconf.py b/pelicanconf.py index de33ec7..169d398 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -42,4 +42,4 @@ STATIC_PATHS = ['images', 'robots.txt'] # SEO SEO_ENHANCER_SITEMAP_URL = "https://www.craftletter.fr/sitemap.xml" -SEO_ENHANCER = True # SEO enhancer is disabled by default +SEO_ENHANCER = True # SEO enhancer is disabled by defaultCSS_MIN = True diff --git a/themes/.github/workflows/build-preview-site.yml b/themes/.github/workflows/build-preview-site.yml deleted file mode 100644 index 0759f56..0000000 --- a/themes/.github/workflows/build-preview-site.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Build pelican-themes preview site - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -on: - # Triggers the workflow on push or pull request events but only for the "main" branch - push: - branches: [ "master" ] - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - with: - fetch-depth: 1 - submodules: recursive - - name: Checkout pelican - uses: actions/checkout@v3 - with: - repository: getpelican/pelican - path: _pelican - fetch-depth: 1 - - name: Setup python-3.10 - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - name: Cache Playwright browsers - uses: actions/cache@v3 - with: - path: ~/.cache/ms-playwright/ - key: ${{ runner.os }}-browsers - - name: Install pelican, plugins and shot-scraper - run: pip install pelican[markdown] pelican-webassets cssmin shot-scraper - - name: Setup shot-scraper - run: shot-scraper install - - name: Generate output - run: python build-theme-previews.py - - # Rsync to server hosting pelicanthemes.com - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_PRIVATE_KEY }} - known_hosts: unnecessary - - name: Adding known hosts - run: ssh-keyscan -p 22 -H pelicanthemes.com >> ~/.ssh/known_hosts - - name: Deploy with rsync - run: rsync -avz ./_output/ deploy@pelicanthemes.com:~/roles/caddy/sites/pelicanthemes.com/ - - # Deploy to Github Pages - - name: Setup Pages - uses: actions/configure-pages@v2 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: '_output' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 diff --git a/themes/.gitignore b/themes/.gitignore deleted file mode 100644 index ba5436c..0000000 --- a/themes/.gitignore +++ /dev/null @@ -1,22 +0,0 @@ -# OS generated files # -###################### -.DS_Store -.DS_Store? -._* -.Spotlight-V100 -.Trashes -Icon? -ehthumbs.db -Thumbs.db - -# Editor temp files # -##################### -.*~ -*~ -.swp -.*.swp - -# Preview artifacts # -##################### -_pelican -_output diff --git a/themes/.gitmodules b/themes/.gitmodules deleted file mode 100644 index be5cfc5..0000000 --- a/themes/.gitmodules +++ /dev/null @@ -1,272 +0,0 @@ -[submodule "pelicanthemes-generator"] - path = pelicanthemes-generator - url = https://github.com/badele/pelicanthemes-generator.git -[submodule "Responsive-Pelican"] - path = Responsive-Pelican - url = https://github.com/ir193/Responsive-Pelican.git -[submodule "hauntr"] - path = hauntr - url = https://github.com/kura/hauntr.git -[submodule "ghastly"] - path = ghastly - url = https://github.com/kura/ghastly.git -[submodule "svbtle"] - path = svbtle - url = https://github.com/wting/pelican-svbtle.git -[submodule "chunk"] - path = chunk - url = https://github.com/tbunnyman/pelican-chunk.git -[submodule "iris"] - path = iris - url = https://github.com/slok/iris.git -[submodule "relapse"] - path = relapse - url = https://github.com/wamonite/relapse.git -[submodule "neat"] - path = neat - url = https://github.com/BYK/pelican-neat.git -[submodule "pelican-mockingbird"] - path = pelican-mockingbird - url = https://github.com/wrl/pelican-mockingbird.git -[submodule "bold"] - path = bold - url = https://github.com/demianbrecht/pelican-bold.git -[submodule "lannisport"] - path = lannisport - url = https://github.com/siovene/lannisport.git -[submodule "Editorial"] - path = Editorial - url = https://gitlab.com/Mimoza/editorial.git -[submodule "fresh"] - path = fresh - url = https://github.com/jsliang/pelican-fresh.git -[submodule "variant-note"] - path = pelican-variant-note - url = https://github.com/mpancorbo/pelican-variant-note.git -[submodule "water-iris"] - path = water-iris - url = https://github.com/jarv/water-iris.git -[submodule "whispers"] - path = whispersTheme - url = https://github.com/deBorn/whispersTheme.git -[submodule "bluegrasshopper"] - path = bluegrasshopper - url = https://github.com/gregseth/pelican-bgh.git -[submodule "pelican-cait"] - path = pelican-cait - url = https://github.com/hdra/pelican-cait.git -[submodule "irfan"] - path = irfan - url = https://github.com/erfaan/pelican-theme-irfan.git -[submodule "svbhack"] - path = svbhack - url = https://github.com/gfidente/pelican-svbhack.git -[submodule "html5-dopetrope"] - path = html5-dopetrope - url = https://github.com/PierrePaul/html5-dopetrope.git -[submodule "plumage"] - path = plumage - url = https://github.com/kdeldycke/plumage.git -[submodule "sundown"] - path = sundown - url = https://github.com/keningle/pelican-sundown.git -[submodule "crowsfoot"] - path = crowsfoot - url = https://github.com/porterjamesj/crowsfoot.git -[submodule "elegant"] - path = elegant - url = https://github.com/Pelican-Elegant/elegant.git - branch = master -[submodule "niu-x2"] - path = niu-x2 - url = https://github.com/wilbur-ma/niu-x2.git -[submodule "storm"] - path = storm - url = https://github.com/redVi/storm.git -[submodule "jesuislibre"] - path = jesuislibre - url = https://github.com/badele/pelican-theme-jesuislibre.git -[submodule "sora"] - path = sora - url = https://github.com/if1live/pelican-sora.git -[submodule "pelican-simplegrey"] - path = pelican-simplegrey - url = https://github.com/fle/pelican-simplegrey.git -[submodule "pujangga"] - path = pujangga - url = https://github.com/habibillah/pujangga.git -[submodule "lovers"] - path = lovers - url = https://github.com/chdoig/pelican-bootstrap3-lovers.git -[submodule "BT3-Flat"] - path = BT3-Flat - url = https://github.com/KenMercusLai/BT3-Flat.git -[submodule "voidy-bootstrap"] - path = voidy-bootstrap - url = https://github.com/robulouski/voidy-bootstrap.git -[submodule "burrito"] - path = burrito - url = https://github.com/fly/burrito.git -[submodule "maggner-pelican"] - path = maggner-pelican - url = https://github.com/kplaube/maggner-pelican.git -[submodule "pelican-sober"] - path = pelican-sober - url = https://github.com/fle/pelican-sober.git -[submodule "twenty-html5up"] - path = twenty-html5up - url = https://github.com/frankV/twenty-pelican-html5up.git -[submodule "lazystrap"] - path = lazystrap - url = https://github.com/lazycoder-ru/lazystrap.git -[submodule "pelican-twitchy"] - path = pelican-twitchy - url = https://github.com/ingwinlu/pelican-twitchy.git -[submodule "dev-random3"] - path = dev-random3 - url = https://github.com/22decembre/dev-random3.git -[submodule "blue-penguin"] - path = blue-penguin - url = https://github.com/jody-frankowski/blue-penguin.git -[submodule "nikhil-theme"] - path = nikhil-theme - url = https://github.com/gunchu/nikhil-theme.git -[submodule "chameleon"] - path = chameleon - url = https://github.com/yuex/pelican-iliork.git -[submodule "mg"] - path = mg - url = https://github.com/lucachr/pelican-mg.git -[submodule "martin-pelican"] - path = martin-pelican - url = https://github.com/cpaulik/martin-pelican.git -[submodule "nest"] - path = nest - url = https://github.com/molivier/nest.git -[submodule "alchemy"] - path = alchemy - url = https://github.com/nairobilug/pelican-alchemy.git -[submodule "pjport"] - path = pjport - url = https://github.com/xm3ron/pjport.git -[submodule "cid"] - path = cid - url = https://github.com/hdra/Pelican-Cid.git -[submodule "Flex"] - path = Flex - url = https://github.com/alexandrevicenzi/Flex.git -[submodule "octopress"] - path = octopress - url = https://github.com/MrSenko/pelican-octopress-theme -[submodule "smoothie"] - path = smoothie - url = https://github.com/kdheepak89/pelican-smoothie.git -[submodule "material"] - path = material - url = https://github.com/greizgh/pelican-material.git -[submodule "w3-personal-blog"] - path = w3-personal-blog - url = https://github.com/samael500/w3-personal-blog.git -[submodule "free-agent"] - path = free-agent - url = https://github.com/callmefish/pelican-free-agent.git -[submodule "mediumfox"] - path = mediumfox - url = https://github.com/cprieto/pelican-mediumfox.git -[submodule "medius"] - path = medius - url = https://github.com/onuraslan/medius.git -[submodule "materialistic"] - path = materialistic - url = https://github.com/eswarm/materialistic-pelican.git -[submodule "hyde"] - path = hyde - url = https://github.com/jvanz/pelican-hyde.git -[submodule "clean-blog"] - path = clean-blog - url = https://github.com/gilsondev/pelican-clean-blog.git -[submodule "semantic-ui"] - path = semantic-ui - url = https://github.com/ellisonleao/pelican-semantic-ui.git -[submodule "yapeme"] - path = yapeme - url = https://github.com/kplaube/yapeme.git -[submodule "pelican-blue"] - path = pelican-blue - url = https://github.com/Parbhat/pelican-blue.git -[submodule "pelican-hss"] - path = pelican-hss - url = https://github.com/laughk/pelican-hss.git -[submodule "nice-blog"] - path = nice-blog - url = https://github.com/guilherme-toti/nice-blog.git -[submodule "apricot"] - path = apricot - url = https://github.com/livibetter-backup/apricot.git -[submodule "eevee"] - path = eevee - url = https://github.com/kura/eevee.git -[submodule "voce"] - path = voce - url = https://github.com/limbenjamin/voce.git -[submodule "genus"] - path = genus - url = https://github.com/vaiski/genus.git -[submodule "attila"] - path = attila - url = https://github.com/arulrajnet/attila -[submodule "bulrush"] - path = bulrush - url = https://github.com/textbook/bulrush.git -[submodule "jojo"] - path = jojo - url = https://github.com/dokelung/jojo.git -[submodule "supersimple"] - path = supersimple - url = https://github.com/hlrossato/supersimple.git -[submodule "resume"] - path = resume - url = https://github.com/suheb/resume.git -[submodule "taman"] - path = taman - url = https://github.com/karambir/taman.git -[submodule "MinimalXY"] - path = MinimalXY - url = https://github.com/petrnohejl/MinimalXY.git -[submodule "pelican-fh5co-marble"] - path = pelican-fh5co-marble - url = https://github.com/claudio-walser/pelican-fh5co-marble.git -[submodule "grid-focus"] - path = grid-focus - url = https://github.com/oulenz/pelican-grid-focus.git -[submodule "brutalist"] - path = brutalist - url = https://github.com/mamcmanus/brutalist.git -[submodule "simplify-theme"] - path = simplify-theme - url = https://github.com/vuquangtrong/simplify-theme.git -[submodule "buruma"] - path = buruma - url = https://github.com/ivanhercaz/buruma.git - branch = pelican-themes -[submodule "pelican-b-side"] - path = pelican-b-side - url = https://gitlab.com/jhauh/pelican_b_side.git -[submodule "stirring"] - path = stirring - url = https://github.com/hansliu/pelican-stirring.git -[submodule "Papyrus"] - path = Papyrus - url = https://github.com/aleylara/Papyrus -[submodule "blue-penguin-dark"] - path = blue-penguin-dark - url = https://github.com/tcarwash/blue-penguin-dark.git -[submodule "pelican-haerwu-theme"] - path = pelican-haerwu-theme - url = https://github.com/hrw/pelican-haerwu-theme.git -[submodule "Piccolo"] - path = piccolo - url = https://github.com/iamjameswalters/piccolo.git -[submodule "WhatsTheScoop"] - path = WhatsTheScoop - url = git@github.com:SarahRogue81/WhatsTheScoop.git diff --git a/themes/blue-penguin/CONTRIBUTORS.md b/themes/blue-penguin/CONTRIBUTORS.md deleted file mode 100644 index 56da1f2..0000000 --- a/themes/blue-penguin/CONTRIBUTORS.md +++ /dev/null @@ -1,17 +0,0 @@ -# Contributors - -* [Nevan Scott](https://github.com/nevanscott/Mockingbird) (original author) -* [wrl](http://ghttps://github.com/guikcdithub.com/wrl) (port to pelican, pelican-mockingbird) -* [Jody Frankowski](http://github.com/jody-frankowski) (Blue Penguin) -* [Grimbox](https://github.com/Grimbox) -* [ix5](https://github.com/ix5) -* [dn0](https://github.com/dn0) -* [anhtuann](https://github.com/anhtuann) -* [aperep](https://github.com/aperep) -* [iranzo](https://github.com/iranzo) -* [thetlk](https://github.com/thetlk) -* [SnorlaxYum](https://github.com/SnorlaxYum) -* [guikcd](https://github.com/guikcd) -* [jorgesumle](https://github.com/jorgesumle) -* [crxxn](https://github.com/crxxn) -* [Pascal Le Merrer](https://www.craftletter.fr) diff --git a/themes/blue-penguin/README.md b/themes/blue-penguin/README.md deleted file mode 100644 index 831bfc3..0000000 --- a/themes/blue-penguin/README.md +++ /dev/null @@ -1,53 +0,0 @@ -![screenshot](screenshot.png) - -# Blue Penguin for pelican -A simple theme for pelican. Solarized pygments. Feeds support. - -## Settings -```python -# all the following settings are *optional* - -# HTML metadata -SITEDESCRIPTION = '' - -# all defaults to True. -DISPLAY_HEADER = True -DISPLAY_FOOTER = True -DISPLAY_HOME = True -DISPLAY_MENU = True - -# provided as examples, they make ‘clean’ urls. used by MENU_INTERNAL_PAGES. -TAGS_URL = 'tags' -TAGS_SAVE_AS = 'tags/index.html' -AUTHORS_URL = 'authors' -AUTHORS_SAVE_AS = 'authors/index.html' -CATEGORIES_URL = 'categories' -CATEGORIES_SAVE_AS = 'categories/index.html' -ARCHIVES_URL = 'archives' -ARCHIVES_SAVE_AS = 'archives/index.html' - -# use those if you want pelican standard pages to appear in your menu -MENU_INTERNAL_PAGES = ( - ('Tags', TAGS_URL, TAGS_SAVE_AS), - ('Authors', AUTHORS_URL, AUTHORS_SAVE_AS), - ('Categories', CATEGORIES_URL, CATEGORIES_SAVE_AS), - ('Archives', ARCHIVES_URL, ARCHIVES_SAVE_AS), -) -# additional menu items -MENUITEMS = ( - ('GitHub', 'https://github.com/'), - ('Linux Kernel', 'https://www.kernel.org/'), -) -``` - -## How to contribute -Contributions are very welcome. Keep in mind that this theme goal is to be -minimalistic/simple. Contributions will be accepted through Github Pull -Requests. If you don’t have a Github account you can suggest me your -changes by email (which you can find on my github profile). - -## Contributors -See [CONTRIBUTORS.md](CONTRIBUTORS.md). - -## License -Public domain. diff --git a/themes/blue-penguin/screenshot.png b/themes/blue-penguin/screenshot.png deleted file mode 100644 index fc5c406..0000000 Binary files a/themes/blue-penguin/screenshot.png and /dev/null differ diff --git a/themes/blue-penguin/static/css/print.css b/themes/blue-penguin/static/css/print.css deleted file mode 100644 index c63a87b..0000000 --- a/themes/blue-penguin/static/css/print.css +++ /dev/null @@ -1,4 +0,0 @@ -* { background: #fff; } -body { font-family: georgia, times, serif; color: black; } -blockquote { font-style: italic; color: black; } -a:link, a:visited { border-bottom-width: 1px; border-bottom-style: solid; } diff --git a/themes/blue-penguin/static/css/pygments.css b/themes/blue-penguin/static/css/pygments.css deleted file mode 100644 index 91ae326..0000000 --- a/themes/blue-penguin/static/css/pygments.css +++ /dev/null @@ -1,87 +0,0 @@ -/* Solarized Dark - -For use with Jekyll and Pygments - -http://ethanschoonover.com/solarized - -SOLARIZED HEX ROLE ---------- -------- ------------------------------------------ -base03 #002b36 background -base01 #586e75 comments / secondary content -base1 #93a1a1 body text / default code / primary content -orange #cb4b16 constants -red #dc322f regex, special keywords -blue #268bd2 reserved keywords -cyan #2aa198 strings, numbers -green #859900 operators, other keywords -*/ - -.highlight { background-color: #002b36; color: #93a1a1 } -.highlight .c { color: #586e75 } /* Comment */ -.highlight .err { color: #93a1a1 } /* Error */ -.highlight .g { color: #93a1a1 } /* Generic */ -.highlight .k { color: #859900 } /* Keyword */ -.highlight .l { color: #93a1a1 } /* Literal */ -.highlight .n { color: #93a1a1 } /* Name */ -.highlight .o { color: #859900 } /* Operator */ -.highlight .x { color: #cb4b16 } /* Other */ -.highlight .p { color: #93a1a1 } /* Punctuation */ -.highlight .cm { color: #586e75 } /* Comment.Multiline */ -.highlight .cp { color: #859900 } /* Comment.Preproc */ -.highlight .c1 { color: #586e75 } /* Comment.Single */ -.highlight .cs { color: #859900 } /* Comment.Special */ -.highlight .gd { color: #2aa198 } /* Generic.Deleted */ -.highlight .ge { color: #93a1a1; font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #dc322f } /* Generic.Error */ -.highlight .gh { color: #cb4b16 } /* Generic.Heading */ -.highlight .gi { color: #859900 } /* Generic.Inserted */ -.highlight .go { color: #93a1a1 } /* Generic.Output */ -.highlight .gp { color: #93a1a1 } /* Generic.Prompt */ -.highlight .gs { color: #93a1a1; font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #cb4b16 } /* Generic.Subheading */ -.highlight .gt { color: #93a1a1 } /* Generic.Traceback */ -.highlight .kc { color: #cb4b16 } /* Keyword.Constant */ -.highlight .kd { color: #268bd2 } /* Keyword.Declaration */ -.highlight .kn { color: #859900 } /* Keyword.Namespace */ -.highlight .kp { color: #859900 } /* Keyword.Pseudo */ -.highlight .kr { color: #268bd2 } /* Keyword.Reserved */ -.highlight .kt { color: #dc322f } /* Keyword.Type */ -.highlight .ld { color: #93a1a1 } /* Literal.Date */ -.highlight .m { color: #2aa198 } /* Literal.Number */ -.highlight .s { color: #2aa198 } /* Literal.String */ -.highlight .na { color: #93a1a1 } /* Name.Attribute */ -.highlight .nb { color: #B58900 } /* Name.Builtin */ -.highlight .nc { color: #268bd2 } /* Name.Class */ -.highlight .no { color: #cb4b16 } /* Name.Constant */ -.highlight .nd { color: #268bd2 } /* Name.Decorator */ -.highlight .ni { color: #cb4b16 } /* Name.Entity */ -.highlight .ne { color: #cb4b16 } /* Name.Exception */ -.highlight .nf { color: #268bd2 } /* Name.Function */ -.highlight .nl { color: #93a1a1 } /* Name.Label */ -.highlight .nn { color: #93a1a1 } /* Name.Namespace */ -.highlight .nx { color: #93a1a1 } /* Name.Other */ -.highlight .py { color: #93a1a1 } /* Name.Property */ -.highlight .nt { color: #268bd2 } /* Name.Tag */ -.highlight .nv { color: #268bd2 } /* Name.Variable */ -.highlight .ow { color: #859900 } /* Operator.Word */ -.highlight .w { color: #93a1a1 } /* Text.Whitespace */ -.highlight .mf { color: #2aa198 } /* Literal.Number.Float */ -.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */ -.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */ -.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */ -.highlight .sb { color: #586e75 } /* Literal.String.Backtick */ -.highlight .sc { color: #2aa198 } /* Literal.String.Char */ -.highlight .sd { color: #93a1a1 } /* Literal.String.Doc */ -.highlight .s2 { color: #2aa198 } /* Literal.String.Double */ -.highlight .se { color: #cb4b16 } /* Literal.String.Escape */ -.highlight .sh { color: #93a1a1 } /* Literal.String.Heredoc */ -.highlight .si { color: #2aa198 } /* Literal.String.Interpol */ -.highlight .sx { color: #2aa198 } /* Literal.String.Other */ -.highlight .sr { color: #dc322f } /* Literal.String.Regex */ -.highlight .s1 { color: #2aa198 } /* Literal.String.Single */ -.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */ -.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #268bd2 } /* Name.Variable.Class */ -.highlight .vg { color: #268bd2 } /* Name.Variable.Global */ -.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */ -.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/themes/blue-penguin/static/css/screen.css b/themes/blue-penguin/static/css/screen.css deleted file mode 100644 index 9321a87..0000000 --- a/themes/blue-penguin/static/css/screen.css +++ /dev/null @@ -1,356 +0,0 @@ -/* http://meyerweb.com/eric/tools/css/reset/ -v2.0 | 20110126 -License: none (public domain) - */ -/* Mockingbird Theme by Nevan Scott nevanscott.com */ -/* Modified by Jody Frankowski */ -/* Modified by ix5 */ -/* Modified by Pascal Le Merrer */ - -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, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} -em { - font-style: italic; -} -strong { - font-weight: bold; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; -} - -body { - font-family: Georgia, serif; - font-size: 16px; - line-height: 1.5em; - color: #444; -} - -header, #wrapper { - padding: 0 10px; - min-width: 500px; - max-width: 910px; - margin: auto; -} - -a { - box-shadow: inset 0 0 0 0 #801515; - color: #801515; - padding: 0 .25rem; - margin: 0 -.25rem; - transition: color .3s ease-in-out, box-shadow .3s ease-in-out; -} - -a:hover { - color: #fff; - box-shadow: inset 800px 0 0 0 #801515; -} - -ul { - list-style: outside disc; -} - -ol { - list-style: outside decimal; -} - -h1, h2, h3, h4, h5, h6 { - font-family: sans-serif; - font-weight: bold; -} -h1, h2, h3 { - font-size: 1.5em; - line-height: 1em; - margin: 1em 0; -} - -img, p, .post > .highlight, .highlighttable, h4, h5, h6 { - margin-top: 1.2em; -} - -blockquote { - margin: 1.5em 1.5em 1.5em .75em; - padding-left: .75em; - border-left: 1px solid #EEE; -} - -.date { - color: #CCC; - float: left; - clear: both; - width: 130px; - font-size: 1.5em; - line-height: 1em; - margin: 0 20px 1em 0; -} - -.info { - margin-top: 1.3em; - font-family: sans-serif; - text-align: right; - color: #BBB; -} -.info a { - color: inherit; -} -.info a.tags { - background: #CCC; - color: #FFF; - display: inline-block; - padding: 0 .3em; - border: 1px transparent solid; - border-radius: 5px; - margin: 0 0 0.3em 0; -} -.info a.tags:hover { - background: inherit; - color: inherit; -} -.info a.tags.selected { - border: 1px #999 solid; -} - -.post { - margin: 0 0 4.5em 150px; -} -.post.archives { - margin-bottom: 1.5em; - margin-left: 160px; -} -.post p { - text-align: justify; -} - -.page { - margin: 0 90px; -} - -.highlight { - border-radius: 3px; -} -.code > .highlight { - border-radius: 0px 3px 3px 0px; -} -.linenos { - border-radius: 3px 0px 0px 3px; - background-color: #073642; - border-right: 1px solid #00232C; - color: #586E75; - text-shadow: 0px -1px #021014; -} -td.code { - width: 100%; - max-width: 100px; -} -.linenos a { - color: #586E75; -} - -img { - border-radius: 0.3em; - max-width: 100%; - display: block; - margin-left: auto; - margin-right: auto; - margin-top: 6rem; - margin-bottom: 6rem; -} - -/*sub and sup stolen from Twitter bootstrap.*/ -sub, sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -.post pre, .page pre { - padding: .8em; - font-size: 12px; - font-family: Monospace; - line-height: 1.1em; - overflow: auto; -} - -form.inline_edit { - clear: both; - margin: 4.5em 0; - background-color: #DDD; - color: #000; - padding: 20px; - border-radius: 5px; -} -.inline_edit .sub { - color: #888; - white-space: nowrap; -} -.inline_edit label { - float: left; - clear: both; - width: 140px; - margin-right: 20px; -} -.inline_edit .buttons { - display: block; - text-align: right; -} - -nav ul { - float: right; - list-style: none; - margin: 0 0 0 3em; - padding: 0; -} -nav li { - float: left; -} -nav a { - color: #801515; - display: block; - padding: 4.5em 10px 10px 10px; -} -nav a:hover { - color: #801515; - text-decoration: underline; - background-color: #d3d3d3; - color: #FFF; -} -nav li.selected a { - background-color: #801515; - color: #FFF; -} - -header .header_box { - padding-top: 4.5em; -} -header h1 { - font-size: 1.5em; - line-height: 1em; - margin: 0; -} -header h2 { - font-size: 1em; - margin: .3em 0; - color: #DDD; -} - -#content { - margin-top: 3em; -} - -.pages { - font-family: sans-serif; - line-height: 2.5em; - margin: 4.5em 0 3em; - background-color: #F9F9F9; - color: #444; - border-radius: 5px; -} -.pages a.next_page { - float: right; - width: 140px; - text-align: center; - border-top-right-radius: 5px; - border-bottom-right-radius: 5px; - background-color: #EEE; -} -.pages a.prev_page { - float: left; - width: 140px; - text-align: center; - border-top-left-radius: 5px; - border-bottom-left-radius: 5px; - background-color: #EEE; -} -.pages a { - color: inherit; - border: none; -} -.pages a:hover { - background-color: #DDD; -} - -.pages span { - display: block; - margin: 0 160px; - text-align: center; -} - -code { - background-color: #F9F2F4; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - box-sizing: border-box; - color: #C7254E; - font-family: Monaco,Menlo,Consolas,"Courier New",monospace; - font-size: 12.6px; - line-height: 18px; - padding-bottom: 2px; - padding-left: 4px; - padding-right: 4px; - padding-top: 2px; - white-space: nowrap; -} - -footer { - font-family: sans-serif; - line-height: 2.5em; - text-align: center; - color: #BBB; - margin: 3em 0; - border: 1px solid #EEE; - border-radius: 5px; -} -footer p { margin: 0; } - -.right { float: right; } - -.clear { clear: both; } diff --git a/themes/blue-penguin/templates/analytics.html b/themes/blue-penguin/templates/analytics.html deleted file mode 100644 index ba174fc..0000000 --- a/themes/blue-penguin/templates/analytics.html +++ /dev/null @@ -1,11 +0,0 @@ -{% if GOOGLE_ANALYTICS %} - - -{% endif %} \ No newline at end of file diff --git a/themes/blue-penguin/templates/archives.html b/themes/blue-penguin/templates/archives.html deleted file mode 100644 index 73c53ba..0000000 --- a/themes/blue-penguin/templates/archives.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} | Archives{% endblock %} -{% block content %} - -

Archives

- - {# based on http://stackoverflow.com/questions/12764291/jinja2-group-by-month-year #} - - {% for year, year_group in dates|groupby('date.year')|reverse %} - {% for month, month_group in year_group|groupby('date.month')|reverse %} -

{{ (month_group|first).date|strftime('%b %Y') }}

-
- -
- {% endfor %} - {% endfor %} -{% endblock %} diff --git a/themes/blue-penguin/templates/article.html b/themes/blue-penguin/templates/article.html deleted file mode 100644 index d8e7071..0000000 --- a/themes/blue-penguin/templates/article.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block head %} - {{ super() }} - {% if article.tags %} - - {% endif %} - {% if article.description %} - - {% endif %} -{% endblock %} - -{% block title %}{{ SITENAME }} | {{ article.title }}{% endblock %} - -{% block content %} -{% include "article_stub.html" %} -{% endblock %} diff --git a/themes/blue-penguin/templates/article_stub.html b/themes/blue-penguin/templates/article_stub.html deleted file mode 100644 index eb32852..0000000 --- a/themes/blue-penguin/templates/article_stub.html +++ /dev/null @@ -1,37 +0,0 @@ - {% if not articles_page or first_article_of_day %} -

{{ article.date.strftime("%d %b %Y") }}

- {% endif %} - -
- {% if article.title %} -

- {{ article.title }} -

- {% endif %} - - {% if not articles_page %} - {% include "translations.html" %} - {% endif %} - - - {{ article.content }} -
- -
- Publié à {{ article.date.strftime("%H:%M") }} - {% if article.category.name != "misc" %} -  ·  - {% endif %} - {% if article.tags %} -  · - {% for t in article.tags %} -  {{ t }} - {% endfor %} - {% endif %} -
- {% if articles_page and DISQUS_SITENAME %} - Click to read and post comments - {% else %} - {% include "disqus.html" %} - {% endif %} -
diff --git a/themes/blue-penguin/templates/author.html b/themes/blue-penguin/templates/author.html deleted file mode 100644 index b9ff61e..0000000 --- a/themes/blue-penguin/templates/author.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "index.html" %} - -{% block title %}{{ SITENAME }} | Articles by {{ author }}{% endblock %} -{% block ephemeral_nav %} - - {{ ephemeral_nav_link(author, output_file, True) }} -{% endblock %} diff --git a/themes/blue-penguin/templates/base.html b/themes/blue-penguin/templates/base.html deleted file mode 100644 index fd01780..0000000 --- a/themes/blue-penguin/templates/base.html +++ /dev/null @@ -1,105 +0,0 @@ -{% macro ephemeral_nav_link(what, where, selected=False) -%} -
  • {{what}}
  • -{%- endmacro -%} - - - - - {% block head %} - - - {% block title %}{{ SITENAME }}{% endblock title %} - {# favicon #} - - - {% if FEED_ALL_ATOM %} - - {% endif %} - {% if FEED_ALL_RSS %} - - {% endif %} - {% if FEED_ATOM %} - - {% endif %} - {% if FEED_RSS %} - - {% endif %} - {% if CATEGORY_FEED_ATOM and category %} - - {% endif %} - {% if CATEGORY_FEED_RSS and category %} - - {% endif %} - {% if TAG_FEED_ATOM and tag %} - - {% endif %} - {% if TAG_FEED_RSS and tag %} - - {% endif %} - - - - - - - {% endblock head %} - - - {% if DISPLAY_HEADER or DISPLAY_HEADER is not defined %} -
    - {% if DISPLAY_MENU or DISPLAY_MENU is not defined %} - - {% endif %} -
    -

    {{ SITENAME }}

    - {% if SITESUBTITLE %} -

    {{ SITESUBTITLE }}

    - {% endif %} -
    -
    - {% endif %} -
    -
    - {%- block content -%}{%- endblock %} - - {% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %} -
    - - {% endif %} -
    -
    -
    -{% include 'analytics.html' %} - - diff --git a/themes/blue-penguin/templates/category.html b/themes/blue-penguin/templates/category.html deleted file mode 100644 index 6587d98..0000000 --- a/themes/blue-penguin/templates/category.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "index.html" %} -{% block title %}{{ SITENAME }} | articles in the "{{ category }}" category{% if articles_page.number != 1 %} | Page {{ articles_page.number }}{% endif %}{% endblock %} -{% block ephemeral_nav %} - - {{ ephemeral_nav_link(category, output_file, True) }} -{% endblock %} diff --git a/themes/blue-penguin/templates/disqus.html b/themes/blue-penguin/templates/disqus.html deleted file mode 100644 index b4093e5..0000000 --- a/themes/blue-penguin/templates/disqus.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if DISQUS_SITENAME %} -
    - - -{% endif %} diff --git a/themes/blue-penguin/templates/index.html b/themes/blue-penguin/templates/index.html deleted file mode 100644 index b8b40f4..0000000 --- a/themes/blue-penguin/templates/index.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} | Page {{ articles_page.number }}{% endif %}{% endblock %} -{% block content %} -{% set date = None %} -{% for article in articles_page.object_list %} -{% if date != article.date.date() %} -{% set first_article_of_day = True %} -{% else %} -{% set first_article_of_day = False %} -{% endif %} -{% set date = article.date.date() %} -{% include "article_stub.html" %} -{% endfor %} - -{% include "pagination.html" %} -{% endblock %} diff --git a/themes/blue-penguin/templates/page.html b/themes/blue-penguin/templates/page.html deleted file mode 100644 index c285678..0000000 --- a/themes/blue-penguin/templates/page.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} | {{ page.title }}{% endblock %} - -{% block content %} - -
    -

    {{ page.title }}

    - {{ page.content }} -
    -{% endblock %} diff --git a/themes/blue-penguin/templates/pagination.html b/themes/blue-penguin/templates/pagination.html deleted file mode 100644 index 69eac10..0000000 --- a/themes/blue-penguin/templates/pagination.html +++ /dev/null @@ -1,38 +0,0 @@ -{# Use PAGINATION_PATTERNS or pagination may break #} -{% if DEFAULT_PAGINATION and (articles_page.has_previous() or articles_page.has_next()) %} - -
    -
    - {% if PAGINATION_PATTERNS[0][0] != 0 %} - {%- if articles_page.has_previous() %} - {% if articles_page.previous_page_number() == 1 %} - - ← Previous - {%- else %} - - ← Previous - {%- endif %} - {%- endif %} - {%- if articles_page.has_next() %} - - Next → - {%- endif %} - {% else %} - {%- if articles_page.has_previous() %} - {% if articles_page.previous_page_number() == 1 %} - - ← Previous - {%- else %} - - ← Previous - {%- endif %} - {%- endif %} - {%- if articles_page.has_next() %} - - Next → - {%- endif %} - {% endif %} - - Page {{ articles_page.number }} of {{ articles_paginator.num_pages }} -
    -{% endif %} diff --git a/themes/blue-penguin/templates/tag.html b/themes/blue-penguin/templates/tag.html deleted file mode 100644 index 92c3439..0000000 --- a/themes/blue-penguin/templates/tag.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "index.html" %} -{% block title %}{{ SITENAME }} | articles tagged "{{ tag }}"{% if articles_page.number != 1 %} | Page {{ articles_page.number }}{% endif %}{% endblock %} -{% block ephemeral_nav %} - {{ ephemeral_nav_link(tag, output_file, True) }} -{% endblock %} diff --git a/themes/blue-penguin/templates/tags.html b/themes/blue-penguin/templates/tags.html deleted file mode 100644 index ac65722..0000000 --- a/themes/blue-penguin/templates/tags.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} -{% block content %} - -{% endblock %} diff --git a/themes/blue-penguin/templates/translations.html b/themes/blue-penguin/templates/translations.html deleted file mode 100644 index f0a0fa2..0000000 --- a/themes/blue-penguin/templates/translations.html +++ /dev/null @@ -1,6 +0,0 @@ -{% if article.translations %} -Translations: - {% for translation in article.translations %} - {{ translation.lang }} - {% endfor %} -{% endif %} \ No newline at end of file