aboutsummaryrefslogtreecommitdiff
path: root/journal
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-25 16:46:22 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-25 16:46:22 -0800
commit9d15d37bed3f2d96017ffa373b0d52df26f7903a (patch)
tree187f37027dc21e736396f6bb19b990b5d3a64bc3 /journal
parenta7da57c0736bec58d1fc4ec99d211099c31bb45f (diff)
add code block in website
Diffstat (limited to 'journal')
-rw-r--r--journal/20240124.org5
-rw-r--r--journal/20240125.org16
-rw-r--r--journal/index.org6
3 files changed, 25 insertions, 2 deletions
diff --git a/journal/20240124.org b/journal/20240124.org
index 1b10e38..d234bd7 100644
--- a/journal/20240124.org
+++ b/journal/20240124.org
@@ -10,8 +10,11 @@
** 13:43
For lunch, I ate rice and vegetables, mainly cauliflower, and two eggs. I plan to take my protein in the night, and I need to
get more protein soon.
-*** TODO Get more protein
+*** DONE Get more protein
Vega to be mixed with milk.
** 15:44
What's weird is I think my journal might be a little broken; I wrote the thing above yesterday. Oh well. I am also looking into
changing my website's css to make it less ugly. I also need to buy some vega protein.
+** 20:24
+I just finished my new website design. I feel as though it is more modern. However, I may still need to add a navbar
+to the website.
diff --git a/journal/20240125.org b/journal/20240125.org
new file mode 100644
index 0000000..10763b1
--- /dev/null
+++ b/journal/20240125.org
@@ -0,0 +1,16 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Thursday, 25 January 2024
+** 12:01
+I did not sleep that well, but that is okay for today. I am currently testing how publishing code blocks works. Sounds
+silly because it works out of the box, but trust me, there are some weird interactions.
+** 16:40
+I feel quite sleepy, but I've done a lot of my agenda already. I'll be seeing Kaili today which is nice. I am thinking
+of blog posts that I could possibly add, but I can't think of anything right now. Maybe some excuse to use reproducible
+research in org mode.
diff --git a/journal/index.org b/journal/index.org
index 290f751..5322bb3 100644
--- a/journal/index.org
+++ b/journal/index.org
@@ -19,8 +19,10 @@ there will be some). I will also be posting some TODOs that I have
throughout time.
** Entries
-Here is a list of all my journal entries:
+@@html: <div class="links-page">@@
+If you're interested, here is a list of all my journal entries:
#+begin_src shell :results output raw :exports both
+#printf "@@html: <div class=\"links\">@@\n"
for f in $(ls | sort -r);
do
if [[ "$f" == "index.org" || "$f" == "README.org" ]]; then
@@ -28,6 +30,7 @@ do
fi
printf -- "- [[file:$f][$f]]\n"
done
+#printf "@@html: </div>@@\n"
#+end_src
#+RESULTS:
@@ -58,3 +61,4 @@ done
- [[file:20230611.org][20230611.org]]
- [[file:20230610.org][20230610.org]]
- [[file:20230609.org][20230609.org]]
+@@html: </div>@@