From cf5c6fcd6c865c199aeb821f91bd3d399a10ab25 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Fri, 21 Jun 2019 16:38:10 +0200
Subject: [PATCH 01/10] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a6a6dce..4229974 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ As you access an article link, the server will fetch it's `index.md` Markdown fi
-As you configured your data repository, when you push any data, it will trigger the webhook that will perform a `git pull` then refresh the data you just committed.
+As you configured your data repository, when you push any data, it will trigger the webhook that will perform a `git pull` then refresh the article list.
#### 4. RSS feed
From ac8facdd6283eeca0dd00f6df2a5b915eef1833b Mon Sep 17 00:00:00 2001
From: Klemek
Date: Fri, 21 Jun 2019 19:06:34 +0200
Subject: [PATCH 02/10] Update README.md
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 4229974..baff21d 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@
A static blog using Markdown pulled from your git repository.
+> You edit it on your local repo, you push it and it's already on your server's blog (plus your friend's RSS is updated)
+
* **[How it works](#how-it-works)**
* **[Installation](#installation)**
* **[Writing an article](#writing-an-article)**
From 3d330b68d467e36e86cb4e1e60869766c1a93233 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Fri, 21 Jun 2019 19:06:53 +0200
Subject: [PATCH 03/10] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index baff21d..aa892ec 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
A static blog using Markdown pulled from your git repository.
-> You edit it on your local repo, you push it and it's already on your server's blog (plus your friend's RSS is updated)
+> You edit the markdown on your local repo, you push it and it's already on your server's blog (plus your friend's RSS is updated)
* **[How it works](#how-it-works)**
* **[Installation](#installation)**
From ea9927db1b5784acd680119dfe3ec777b5768141 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Fri, 21 Jun 2019 19:17:46 +0200
Subject: [PATCH 04/10] Update README.md
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index aa892ec..2bec896 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,10 @@
A static blog using Markdown pulled from your git repository.
-> You edit the markdown on your local repo, you push it and it's already on your server's blog (plus your friend's RSS is updated)
+> Step 1 : ```$ vi 2019/06/21/index.md```
+> Step 2 : ```$ git add . && git commit -m "new article" && git push origin master```
+> Step 3 : That's it
+> Step 4 : No seriously you're done, go check your updated blog
* **[How it works](#how-it-works)**
* **[Installation](#installation)**
From a3a23be1c205222833224d0210ab3db9ec15b1b3 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Sun, 23 Jun 2019 15:34:34 +0200
Subject: [PATCH 05/10] Update README.md
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 4808b7b..9395732 100644
--- a/README.md
+++ b/README.md
@@ -132,7 +132,9 @@ You need to [create a new repository](https://github.com/new) on your favorite G
```bash
#gitblog.md/
cd data
+git init
git remote add origin
+git commit -m "initial commit"
git push -u origin master
```
From 6aceacad183a14646279b4be61a3ef013b08f727 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Sun, 23 Jun 2019 15:34:46 +0200
Subject: [PATCH 06/10] Update README.md
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index 9395732..ef08967 100644
--- a/README.md
+++ b/README.md
@@ -134,6 +134,7 @@ You need to [create a new repository](https://github.com/new) on your favorite G
cd data
git init
git remote add origin
+git add .
git commit -m "initial commit"
git push -u origin master
```
From 6cf7be3afb98a85e1004eaf1ec4b858aacc08909 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Sun, 23 Jun 2019 15:37:23 +0200
Subject: [PATCH 07/10] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ef08967..b8feb28 100644
--- a/README.md
+++ b/README.md
@@ -160,7 +160,7 @@ Here are the steps for Github, if you use another platform adapt it your way (he
```json
"webhook": {
"endpoint": "/webhook",
- "secret": "sha1=",
+ "secret": "",
"signature_header": "X-Hub-Signature"
},
```
From b6afcd4992e7b36ea196ce45aeb4762471356e10 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Wed, 26 Jun 2019 21:20:45 +0200
Subject: [PATCH 08/10] Update README.md
---
README.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 4d0aba0..026beb5 100644
--- a/README.md
+++ b/README.md
@@ -127,6 +127,10 @@ Resources are located on the `data` folder and can be referenced as the root of
In your template, the following data is sent :
+
+details (click)
+
+
* `info` (every pages)
* `title` : the blog's title as in the config
* `description` the blog's description as in the config
@@ -146,6 +150,8 @@ In your template, the following data is sent :
* `realPath` : the system's path for the folder
* `escapedTitle` : the code with alphanumeric and underscore characters only
* `error` (error pages only) : the error code
+
+
#### 5. Create and init your git source
@@ -280,8 +286,8 @@ Any URL like `/year/month/day/anything/` will redirect to this article (and link
* `error` (default: error.ejs)
the name of the error page template on the data directory
it will receive `error`, the error code
- * `hidden` (default: `[.ejs]`)
- file extensions to be returned 404 when reached
+ * `hidden` (default: `[*.ejs,/.git*]`)
+ path matches to be returned 404 when reached
* `article`
* `index` (default: index.md)
the name of the Markdown page of the article on the `/year/month/day/` directory
From 889258c874269a7e47fed0bb549abe43a3fa5829 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Fri, 12 Jul 2019 11:53:02 +0200
Subject: [PATCH 09/10] Update .travis.yml
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index a968088..05465ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,5 +11,5 @@ install:
before_script:
- npm install -g jshint
script:
- - jest --silent --coverage --coverageReporters=text-lcov | coveralls
+ - jest --silent --coverage --coverageReporters=text-lcov && cat ./coverage/lcov.info | coveralls
- jshint ./src
From 4a9b70ac68c16590765a484c48b7df872ce289e9 Mon Sep 17 00:00:00 2001
From: Klemek
Date: Fri, 12 Jul 2019 13:53:55 +0200
Subject: [PATCH 10/10] Update .travis.yml
---
.travis.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 05465ab..2a9dc04 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,5 +11,6 @@ install:
before_script:
- npm install -g jshint
script:
- - jest --silent --coverage --coverageReporters=text-lcov && cat ./coverage/lcov.info | coveralls
- - jshint ./src
+ - jest --coverage
+ - jshint .
+ - cat ./coverage/lcov.info | coveralls