Skip to content

Commit cd1c06c

Browse files
committed
Update to current version
1 parent 62e9ff1 commit cd1c06c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+140
-47
lines changed

examples/storyteller/README.md

Lines changed: 5 additions & 0 deletions
5.41 KB
5.3 KB

examples/storyteller/icons/home.png

8.61 KB

examples/storyteller/icons/info.png

14.1 KB

examples/storyteller/index.html

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,19 @@
77

88
<body>
99

10-
<pre id="storyteller-branch" style="display:none">dev</pre>
11-
<pre id="storyteller-stories" style="display:none">stories</pre>
10+
<pre id="storyteller-stories" style="display:none">storyteller</pre>
1211
<pre id="easycoder-script" style="display:none">
1312

1413
script Boot
15-
pre Branch
16-
variable B
1714
variable Script
18-
attach Branch to `storyteller-branch`
19-
put the content of Branch into B
20-
require js `https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io@` cat B cat `/dist/plugins/showdown.js?v=200413`
21-
rest get Script from `https://cdn.jsdelivr.net/gh/easycoder/storyteller@` cat B cat `/storyteller.txt?v=200413`
15+
require js `https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/plugins/showdown.js?v=200825`
16+
rest get Script from `https://cdn.jsdelivr.net/gh/easycoder/storyteller/storyteller.txt?v=200825`
17+
! rest get Script from `/storyteller.txt`
2218
run Script
2319

2420
</pre>
2521

26-
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js?v=200413'></script>
22+
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js?v=2.7.3'></script>
2723

2824
</body>
2925
</html>

examples/storyteller/stories/GetStoryteller/source.txt renamed to examples/storyteller/storyteller/GetStoryteller/content.txt

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Source code of the 'Setting up' page
2-
3-
Below the line is the page source as typed by the site author.
4-
-----------------------------------------------------------------------------------------------------------
51
Links: ~select:-:Select a subject!selected disabled hidden|S-Structure:The structure of a Storyteller website|S-Markdown:Using Markdown|S-Images:Handling images~~space:3~Next: ~sid:Structure:Website structure~
62

73
# How to set up a Storyteller website
@@ -10,7 +6,7 @@ There are two ways to use Storyteller:
106

117
1. Open a Neocities account and build your site using the instructions below.
128

13-
1. Download Storyteller files from the [Storyteller repository](https://github.com/easycoder/storyteller) and copy them to your server. This is the option for advanced users.
9+
1. Download Storyteller files from the [repository](https://github.com/easycoder/easycoder.github.io/tree/master/storyteller) and copy them to your server. This is the option for people who have direct access to their own websites.
1410

1511
## Setting up using Neocities
1612

@@ -30,19 +26,18 @@ Once you have chosen your name your website will be live and can be seen by anyo
3026

3127
1. Click `Dashboard` on the left of the button bar to return to the file listing screen.
3228
<hr>
33-
3429
```
3530
<html>
3631
<head>
3732
<meta charset="UTF-8">
3833
<meta name="viewport" content="width=device-width, initial-scale=1.0">
3934
<title></title>
40-
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/easycoder/storyteller/storyteller.js'></script>
4135
</head>
4236

4337
<body>
4438

45-
<pre id="storyteller-branch">master</pre>
39+
<pre id="storyteller-branch" style="display:none">master</pre>
40+
<pre id="storyteller-stories" style="display:none">(Name-of-my-stories-folder)</pre>
4641
<pre id="easycoder-script" style="display:none">
4742

4843
script Boot
@@ -51,20 +46,31 @@ Once you have chosen your name your website will be live and can be seen by anyo
5146
variable Script
5247
attach Branch to `storyteller-branch`
5348
put the content of Branch into B
54-
rest get Script from `https://cdn.jsdelivr.net/gh/easycoder/storyteller@` cat B cat `/storyteller.txt`
49+
require js `https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io@` cat B cat `/dist/plugins/showdown.js?v=200413`
50+
rest get Script from `https://cdn.jsdelivr.net/gh/easycoder/storyteller@` cat B cat `/storyteller.txt?v=200413`
5551
run Script
5652

5753
</pre>
5854

55+
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/easycoder.js?v=200413'></script>
56+
5957
</body>
6058
</html>
6159
```
6260
<hr>
63-
Now carefully follow these steps:
61+
That's the file that will run when your site is loaded; apart from the name of the stories folder it's the same for all StoryTeller websites. What follows next is all the stuff that makes your own site distictive. Carefully follow these steps:
6462

65-
1. Click the `New Folder` button and type the name `stories`.
63+
1. Click the `Edit` button for `index.html`.
64+
65+
1. Find the text `(Name-of-my-stories-folder)` and replace it (the text and the 2 brackets) with a name you will use for your stories folder. The name can be anything you like (but no spaces, please) so make it appropriate. For example, if you are writing about holidays you could call it `MyHolidays`.
66+
67+
1. Click `Save`.
68+
69+
1. Back out of the editor to the Dashboard.
70+
71+
1. Click the `New Folder` button and type the name you just gave for your stories. This folder is where you will keep all your story files.
6672

67-
1. Click its name (`stories`) to go into the folder.
73+
1. Click its name to go into your stories folder.
6874

6975
1. Click `New File` and type the name `title.txt`. Click `Create`.
7076

@@ -123,4 +129,4 @@ You can do all your editing in Neocities using their built-in editor or you can
123129

124130
~sid:Images:Handling images~
125131

126-
[Click here to see the source code for this page(/stories/GetStoryteller/source.txt)
132+
[Click here to see the source code for this page](/storyteller/GetStoryteller/source.txt)

examples/storyteller/stories/GetStoryteller/content.txt renamed to examples/storyteller/storyteller/GetStoryteller/source.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Source code of the 'Setting up' page
2+
3+
Below the line is the page source as typed by the site author.
4+
-----------------------------------------------------------------------------------------------------------
15
Links: ~select:-:Select a subject!selected disabled hidden|S-Structure:The structure of a Storyteller website|S-Markdown:Using Markdown|S-Images:Handling images~~space:3~Next: ~sid:Structure:Website structure~
26

37
# How to set up a Storyteller website
@@ -58,7 +62,7 @@ Once you have chosen your name your website will be live and can be seen by anyo
5862
</html>
5963
```
6064
<hr>
61-
Now carefully follow these steps:
65+
That's the file that will run when your site is loaded; apart from the name of the stories folder it's the same for all StoryTeller websites. What follows next is all the stuff that makes your own site distictive. Carefully follow these steps:
6266

6367
1. Click the `Edit` button for `index.html`.
6468

0 commit comments

Comments
 (0)