Skip to content
Permalink
Browse files

Update demo.

  • Loading branch information...
alexandrevicenzi committed Oct 19, 2019
1 parent 7a35b60 commit fd30f0f057fe4f4c1faf374e71d06afcc3a0ab25
Showing with 4,347 additions and 925 deletions.
  1. +74 −0 docs/Makefile
  2. +1 −7 docs/README.md
  3. +36 −35 docs/blog/archives.html
  4. +53 −58 docs/blog/author/alexandre-vicenzi.html
  5. +30 −29 docs/blog/authors.html
  6. +31 −30 docs/blog/categories.html
  7. +53 −58 docs/blog/category/news.html
  8. +8 −17 docs/blog/feeds/all.atom.xml
  9. +8 −17 docs/blog/feeds/news.atom.xml
  10. +35 −34 docs/blog/flex-pelican-theme-update-1-1-1.html
  11. +35 −34 docs/blog/flex-pelican-theme-update-1-1.html
  12. +35 −34 docs/blog/flex-pelican-theme-update-1-2-0.html
  13. +35 −34 docs/blog/flex-pelican-theme-update-2-0.html
  14. +35 −34 docs/blog/flex-pelican-theme-update-2-1.html
  15. +35 −34 docs/blog/flex-pelican-theme-update-2-2.html
  16. +35 −34 docs/blog/flex-pelican-theme.html
  17. +53 −58 docs/blog/index.html
  18. +29 −28 docs/blog/pages/about.html
  19. +29 −28 docs/blog/pages/contact.html
  20. +53 −58 docs/blog/tag/pelican.html
  21. +53 −58 docs/blog/tag/python.html
  22. +53 −58 docs/blog/tag/theme.html
  23. +33 −32 docs/blog/tags.html
  24. +5 −0 docs/blog/theme/font-awesome/css/brands.css
  25. +5 −0 docs/blog/theme/font-awesome/css/fontawesome.css
  26. +5 −0 docs/blog/theme/font-awesome/css/solid.css
  27. BIN docs/blog/theme/font-awesome/webfonts/fa-brands-400.eot
  28. +1,127 −0 docs/blog/theme/font-awesome/webfonts/fa-brands-400.svg
  29. BIN docs/blog/theme/font-awesome/webfonts/fa-brands-400.ttf
  30. BIN docs/blog/theme/font-awesome/webfonts/fa-brands-400.woff
  31. BIN docs/blog/theme/font-awesome/webfonts/fa-brands-400.woff2
  32. BIN docs/blog/theme/font-awesome/webfonts/fa-solid-900.eot
  33. +2,231 −0 docs/blog/theme/font-awesome/webfonts/fa-solid-900.svg
  34. BIN docs/blog/theme/font-awesome/webfonts/fa-solid-900.ttf
  35. BIN docs/blog/theme/font-awesome/webfonts/fa-solid-900.woff
  36. BIN docs/blog/theme/font-awesome/webfonts/fa-solid-900.woff2
  37. +17 −8 docs/blog/theme/stylesheet/style.less
  38. +1 −1 docs/blog/theme/stylesheet/style.min.css
  39. +2 −0 docs/blog/theme/stylesheet/variables.less
  40. +0 −103 docs/develop_server.sh
  41. +0 −2 docs/pelicanconf.py
  42. +0 −2 docs/publishconf.py
  43. +112 −0 docs/tasks.py
@@ -0,0 +1,74 @@
PY?=python3
PELICAN?=pelican
PELICANOPTS=

BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py

GITHUB_PAGES_BRANCH=gh-pages


DEBUG ?= 0
ifeq ($(DEBUG), 1)
PELICANOPTS += -D
endif

RELATIVE ?= 0
ifeq ($(RELATIVE), 1)
PELICANOPTS += --relative-urls
endif

help:
@echo 'Makefile for a pelican Web site '
@echo ' '
@echo 'Usage: '
@echo ' make html (re)generate the web site '
@echo ' make clean remove the generated files '
@echo ' make regenerate regenerate files upon modification '
@echo ' make publish generate using production settings '
@echo ' make serve [PORT=8000] serve site at http://localhost:8000'
@echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 '
@echo ' make devserver [PORT=8000] serve and regenerate together '
@echo ' '
@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html '
@echo 'Set the RELATIVE variable to 1 to enable relative urls '
@echo ' '

html:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)

clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)

regenerate:
$(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)

serve:
ifdef PORT
$(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT)
else
$(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
endif

serve-global:
ifdef SERVER
$(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT) -b $(SERVER)
else
$(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT) -b 0.0.0.0
endif


devserver:
ifdef PORT
$(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT)
else
$(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
endif

publish:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)

.PHONY: html help clean regenerate serve serve-global devserver publish
@@ -1,9 +1,3 @@
# Flex Blog Example

## Build

`pelican -s pelicanconf.py`

## Publish

`pelican -s publishconf.py`
Visit [http://flex.alxd.me/blog](http://flex.alxd.me/blog).
@@ -10,28 +10,21 @@

<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Source+Sans+Pro:300,400,400i,700" rel="stylesheet">

<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/stylesheet/style.min.css">
<link rel="stylesheet/less" type="text/css" href="http://localhost:8000/theme/stylesheet/style.less">
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js" type="text/javascript"></script>

<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="http://localhost:8000/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="http://localhost:8000/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="http://localhost:8000/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="http://localhost:8000/theme/font-awesome/css/solid.css">

<link href="http://flex.alxd.me/blog/static/custom.css" rel="stylesheet">
<link href="http://localhost:8000/static/custom.css" rel="stylesheet">

<link href="http://flex.alxd.me/blog/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<link href="http://localhost:8000/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">



<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
@@ -49,7 +42,7 @@
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="http://flex.alxd.me/blog"/>
<meta property="og:url" content="http://localhost:8000"/>

<title>Flex &ndash; Archives
</title>
@@ -65,23 +58,31 @@
<body>
<aside>
<div>
<a href="http://flex.alxd.me/blog">
<img src="http://flex.alxd.me/blog/theme/img/profile.png" alt="Flex" title="Flex">
<a href="http://localhost:8000">
<img src="http://localhost:8000/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1><a href="http://flex.alxd.me/blog">Flex</a></h1>
<h1><a href="http://localhost:8000">Flex</a></h1>

<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li><a href="http://flex.alxd.me/blog/pages/about.html#about">About</a></li>
<li><a href="http://flex.alxd.me/blog/pages/contact.html#contact">Contact</a></li>
<li><a href="http://localhost:8000/pages/about.html#about">About</a></li>
<li><a href="http://localhost:8000/pages/contact.html#contact">Contact</a></li>

</ul>
</nav>

<ul class="social">
<li><a class="sc-github" href="https://github.com/alexandrevicenzi/Flex" target="_blank"><i class="fa fa-github"></i></a></li>
<li><a class="sc-rss" href="/blog/feeds/all.atom.xml" target="_blank"><i class="fa fa-rss"></i></a></li>
<li>
<a class="sc-github" href="https://github.com/alexandrevicenzi/Flex" target="_blank">
<i class="fab fa-github">
</i>
</a></li>
<li>
<a class="sc-rss" href="/blog/feeds/all.atom.xml" target="_blank">
<i class="fas fa-rss">
</i>
</a></li>
</ul>
</div>

@@ -97,14 +98,14 @@ <h1><a href="http://flex.alxd.me/blog">Flex</a></h1>
<main>

<nav>
<a href="http://flex.alxd.me/blog"> Home
<a href="http://localhost:8000"> Home
</a>

<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>

<a href="http://flex.alxd.me/blog/feeds/all.atom.xml"> Atom
<a href="http://localhost:8000/feeds/all.atom.xml"> Atom
</a>

</nav>
@@ -117,28 +118,28 @@ <h1> Archives
<div>
<dl>
<dt>June 24, 2018</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme-update-2-2.html">Flex 2.2.0</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme-update-2-2.html">Flex 2.2.0</a></dd>
<dt>November 16, 2016</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme-update-2-1.html">Flex 2.1.0</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme-update-2-1.html">Flex 2.1.0</a></dd>
<dt>September 13, 2016</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme-update-2-0.html">Flex 2.0</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme-update-2-0.html">Flex 2.0</a></dd>
<dt>June 10, 2016</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme-update-1-2-0.html">Flex 1.2.0</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme-update-1-2-0.html">Flex 1.2.0</a></dd>
<dt>February 27, 2016</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme-update-1-1-1.html">Flex 1.1.1</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme-update-1-1-1.html">Flex 1.1.1</a></dd>
<dt>October 07, 2015</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme-update-1-1.html">Flex 1.1.0</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme-update-1-1.html">Flex 1.1.0</a></dd>
<dt>July 22, 2015</dt>
<dd><a href="http://flex.alxd.me/blog/flex-pelican-theme.html">Flex: Responsive Pelican theme</a></dd>
<dd><a href="http://localhost:8000/flex-pelican-theme.html">Flex: Responsive Pelican theme</a></dd>
</dl>
</div>
</article>

<footer>
<p>
&copy; 2018 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>
&copy; 2019 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p> Powered by <a href="http://getpelican.com" target="_blank">Pelican</a> - <a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a> theme by <a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a>
<p> Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
@@ -162,7 +163,7 @@ <h1> Archives
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "http://flex.alxd.me/blog",
"url" : "http://localhost:8000",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}

0 comments on commit fd30f0f

Please sign in to comment.
You can’t perform that action at this time.