Skip to content

Commit dcf5118

Browse files
committed
Rename, Update footer
Signed-off-by: SitiSchu <[email protected]>
1 parent 4d30d5a commit dcf5118

File tree

3 files changed

+30
-18
lines changed

3 files changed

+30
-18
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# mkr/bin
1+
# Memochō
22

3-
A lightweight pastebin/hastebin alternative with no hard frontend JS dependency.
3+
A lightweight pastebin/hastebin alternative with no hard frontend JS dependency. Fork of [mkr/bin](https://github.com/MKRhere/bin).
44

55
## Starting the app
66

@@ -22,9 +22,9 @@ BIN_MONGO_CSTRING=mongodb://localhost:27017/bin-store \
2222
npm start
2323
```
2424

25-
## Customising `mkr/bin`
25+
## Customising `Memochō`
2626

27-
To customise your self-hosted version of `mkr/bin`, you can add these two files to `/custom` at the root directory:
27+
To customise your self-hosted version of `Memochō`, you can add these two files to `/custom` at the root directory:
2828

2929
```txt
3030
└─ custom

render/components/footer.js

+25-13
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ module.exports = (m, {isSnippet}) => {
88
"New snippet: Ctrl + Alt + N",
99
],
1010
),
11-
m("code.footer-text",
12-
["|"]),
11+
m("code.footer-text", ["|"]),
1312
m(
1413
"button#actionButton.submit",
1514
{
@@ -25,25 +24,38 @@ module.exports = (m, {isSnippet}) => {
2524
),
2625
),
2726

28-
m("code.footer-text", "mkr/bin |"),
27+
m("code.footer-text", "Memochō |"),
2928
m("code.footer-text", [
30-
"Built by Muthu Kumar",
29+
"Built by",
3130
m(
3231
"a",
3332
{
3433
href: "https://github.com/MKRhere",
35-
target: "blank"
34+
target: "blank",
35+
rel: "noopener"
3636
},
3737
"@MKRhere"
3838
),
39-
"| Fork me!"
39+
", Modified by",
40+
m(
41+
"a",
42+
{
43+
href: "https://github.com/SitiSchu",
44+
target: "blank",
45+
rel: "noopener"
46+
},
47+
"@SitiSchu"
48+
),
49+
"|",
50+
m(
51+
"a",
52+
{
53+
href: "https://github.com/mojurasu/memocho",
54+
target: "blank",
55+
rel: "noopener"
56+
},
57+
"Fork me!"
58+
),
4059
]),
41-
m(
42-
"a.footer-github",
43-
{
44-
href: "https://github.com/MKRhere/bin",
45-
target: "blank"
46-
},
47-
)
4860
]);
4961
};

render/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = (m, render, {location, content = '', language}) => {
66
return render(m('html',
77
[
88
head(m, {
9-
title: 'mkr/bin',
9+
title: 'Memochō',
1010
description: 'Lightweight pastebin alternative',
1111
keywords: ['pastebin', 'hastebin', 'notes'],
1212
styles: ['/css/style.css', '/custom/style.css']

0 commit comments

Comments
 (0)