diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | conf.py | 4 | ||||
-rw-r--r-- | posts/nikola-in-orgmode.org | 38 | ||||
-rw-r--r-- | posts/starting-with-nikola.rst | 16 |
4 files changed, 61 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..55e0a46 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.doit.db +/__pycache__/conf.cpython-35.pyc +cache +output @@ -133,12 +133,14 @@ TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}" NAVIGATION_LINKS = { DEFAULT_LANG: ( + ("https://cloud.najera.pw", "Owncloud"), ("/archive.html", "Archive"), ("/categories/", "Tags"), ("/rss.xml", "RSS feed"), ), "es": ( + ("https://cloud.najera.pw", "Owncloud"), ("/es/archive.html", "Archivo"), ("/es/categories/", "Etiquetas"), ("/es/rss.xml", "Canal RSS"), @@ -146,7 +148,7 @@ NAVIGATION_LINKS = { } # Name of the theme to use. -THEME = "material-theme" +THEME = "bootstrap3" # Primary color of your theme. This will be used to customize your theme and # auto-generate related colors in POSTS_SECTION_COLORS. Must be a HEX value. diff --git a/posts/nikola-in-orgmode.org b/posts/nikola-in-orgmode.org new file mode 100644 index 0000000..c11a3fe --- /dev/null +++ b/posts/nikola-in-orgmode.org @@ -0,0 +1,38 @@ +#+BEGIN_COMMENT +.. title: Nikola in orgmode +.. slug: nikola-in-orgmode +.. date: 2016-12-25 22:46:19 UTC+01:00 +.. tags: testing +.. category: +.. link: +.. description: +.. type: text +#+END_COMMENT + + +Kind of boring header in this case. But I need to test other options +as the amazing codeblocks. + +#+BEGIN_SRC emacs-lisp +(use-package jedi + :ensure t + :init + (add-hook 'python-mode-hook 'jedi:setup) + (add-hook 'python-mode-hook 'jedi:ac-setup)) +#+END_SRC + + +#+BEGIN_SRC emacs-lisp +(global-hl-line-mode t) +#+END_SRC + +#+BEGIN_SRC python :results output :exports both +print('yes, twire') +print('yes, twici') +#+END_SRC + +#+RESULTS: +: yes, twice +: yes, twici +: +: diff --git a/posts/starting-with-nikola.rst b/posts/starting-with-nikola.rst new file mode 100644 index 0000000..0485cb3 --- /dev/null +++ b/posts/starting-with-nikola.rst @@ -0,0 +1,16 @@ +.. title: Starting with Nikola +.. slug: starting-with-nikola +.. date: 2016-12-25 22:32:00 UTC+01:00 +.. tags: testing +.. category: +.. link: +.. description: +.. type: text + +Write your post here. + +.. code-block:: python + :number-lines: + + print('no') + print('yes') |