aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <najera.oscar@gmail.com>2016-12-26 00:57:13 +0100
committerÓscar Nájera <najera.oscar@gmail.com>2016-12-26 00:57:13 +0100
commit512691f01c9734f2e87e800597b17647f575687d (patch)
tree931beb167d90638e05b108d506fe8b0eab1ee2b0
parent13d27a493ec2034351cceb0aa3ecfe8e9925bce5 (diff)
downloadhomepage-512691f01c9734f2e87e800597b17647f575687d.tar.gz
homepage-512691f01c9734f2e87e800597b17647f575687d.tar.bz2
homepage-512691f01c9734f2e87e800597b17647f575687d.zip
Testing Posts
-rw-r--r--.gitignore4
-rw-r--r--conf.py4
-rw-r--r--posts/nikola-in-orgmode.org38
-rw-r--r--posts/starting-with-nikola.rst16
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
diff --git a/conf.py b/conf.py
index 4d99695..7307b0b 100644
--- a/conf.py
+++ b/conf.py
@@ -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')