From d6c7b6a5f20c4c2d4bd82c4f9408deb13e5f0bcf Mon Sep 17 00:00:00 2001 From: June Date: Thu, 22 Dec 2022 02:59:58 +0100 Subject: [PATCH 1/2] There was some typos. --- README.md | 6 +++--- index.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ce8020c..4c7b2f1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Lipu e pilin Lipu e pilin (Toki Pona for "document experiences"), is just a bunch of scripts to allow you to do microblogging using git commits. -You can use it as an offline/downloadble blog, readable with git log, or as a traditional web page, with the index.html generate at each commit. +You can use it as an offline/downloadable blog, readable with git log, or as a traditional web page, with the index.html generate at each commit. ## How it works When you create a commit, the pre-commit hook runs a perl script to export a git log in a neat and simple HTML file. @@ -11,8 +11,8 @@ When you create a commit, the pre-commit hook runs a perl script to export a git - Perl ## Installation -Download the latest release. After extracting it, run `git init` in the directory. -Copy the pre-commit hook in your .git/hooks directory. +Download the latest release. After extracting it, run `git init` in the directory. +Copy the pre-commit hook in your .git/hooks directory. Et voilà! Note: because the HTML file is created by parsing a git log command, it’s always late of 1 commit. diff --git a/index.html b/index.html index 656cba5..3d2ea98 100644 --- a/index.html +++ b/index.html @@ -3,11 +3,11 @@
-* commit 09010fd
+* commit b4299f5
 | Author: June <june@lacoloc.cafe>
 | Date:   Thu Dec 22 02:55:15 2022 +0100
 | 
-|     Now, we have a useful README.me
+|     Now, we have a useful README.md
 | 
 * commit 15da013
 | Author: June <june@lacoloc.cafe>

From e68da763706b8e7334b503f19c9a2e12e1c8229c Mon Sep 17 00:00:00 2001
From: June 
Date: Thu, 22 Dec 2022 03:50:35 +0100
Subject: [PATCH 2/2] Fix gist address

---
 index.html  | 6 ++++++
 log2html.pl | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 3d2ea98..d5e99b0 100644
--- a/index.html
+++ b/index.html
@@ -3,6 +3,12 @@
  
 
 
+* commit d6c7b6a
+| Author: June <june@lacoloc.cafe>
+| Date:   Thu Dec 22 02:59:58 2022 +0100
+| 
+|     There was some typos.
+| 
 * commit b4299f5
 | Author: June <june@lacoloc.cafe>
 | Date:   Thu Dec 22 02:55:15 2022 +0100
diff --git a/log2html.pl b/log2html.pl
index 6a2d9a7..0e27115 100755
--- a/log2html.pl
+++ b/log2html.pl
@@ -1,4 +1,4 @@
-# Script from Panike: https://gist.github.com/panike/811354.js
+# Script forked from Panike: https://gist.github.com/panike/811354
 
 
 sub new_hl {