aboutsummaryrefslogtreecommitdiffstats
path: root/posts
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 /posts
parent13d27a493ec2034351cceb0aa3ecfe8e9925bce5 (diff)
downloadhomepage-512691f01c9734f2e87e800597b17647f575687d.tar.gz
homepage-512691f01c9734f2e87e800597b17647f575687d.tar.bz2
homepage-512691f01c9734f2e87e800597b17647f575687d.zip
Testing Posts
Diffstat (limited to 'posts')
-rw-r--r--posts/nikola-in-orgmode.org38
-rw-r--r--posts/starting-with-nikola.rst16
2 files changed, 54 insertions, 0 deletions
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')