diff --git a/CHANGELOG b/CHANGELOG
index b6a88a7..c97608c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+v3.5.1 - 08/05/2023
+- Add feature, hide unlisted toots
+- Add message if no toots are shown due to filters applied
+
v3.4.2 - 22/04/2023
- Add support for hashtag timeline
- Fix query url when showing local instance toots
diff --git a/README.md b/README.md
index dd1988b..4225378 100644
--- a/README.md
+++ b/README.md
@@ -12,32 +12,32 @@ Source code running at:
## 🗂️ User guide
-Just copy both files (*mastodon-timeline.css* and *mastodon-timeline.js* from /src folder) in your project folder.
+Just copy both files (_mastodon-timeline.css_ and _mastodon-timeline.js_ from /src folder) in your project folder.
Now call each one in your page using the `` and `
+
```
Then copy the following html structure:
```html
-
-
-
+
+
+
```
Great, you have a Mastodon timeline running in your page.
The next step will be to setup the timeline.
-Edit the the JS file *mastodon-timeline.js* and at the beginning find these two lines:
+Edit the the JS file _mastodon-timeline.js_ and at the beginning find these two lines:
```javascript
instance_url: 'Your Mastodon instance',
@@ -62,24 +62,26 @@ If you prefer to show a timeline with a specific hashtag then change the `timeli
Also you have some parameters to customize your embed timeline:
```javascript
- // Preferred color theme 'light' or 'dark' (default: auto)
- default_theme: 'auto'
+// Preferred color theme 'light' or 'dark' (default: auto)
+default_theme: "auto";
- // Maximum amount of toots to get (default: 20)
- toots_limit: '20'
+// Maximum amount of toots to get (default: 20)
+toots_limit: "20";
- // Hide boosted toots (default: don't hide)
- hide_reblog: false
+// Hide unlisted toots (default: don't hide)
+hide_unlisted: false;
- // Hide replies toots (default: don't hide)
- hide_replies: false
+// Hide boosted toots (default: don't hide)
+hide_reblog: false;
- // Limit the text content to a maximum number of lines (default: unlimited)
- text_max_lines: '0'
+// Hide replies toots (default: don't hide)
+hide_replies: false;
- // Customize the text of the link pointing to the Mastodon page (appears after the last toot)
- btn_see_more: 'See more posts at Mastodon'
+// Limit the text content to a maximum number of lines (default: unlimited)
+text_max_lines: "0";
+// Customize the text of the link pointing to the Mastodon page (appears after the last toot)
+btn_see_more: "See more posts at Mastodon";
```
### Tip
@@ -87,12 +89,12 @@ Also you have some parameters to customize your embed timeline:
If you don't know your `user_id`, you have two ways to get it:
- Right click on your avatar image and inspect the element.
-You will see in your html code a line like this one:
-``
-Check the `src=""` url, your user id is between `/accounts/avatars/` and `/original/`. So removing the slashs `/` you will get your user id, like in the example: `000180745`
+ You will see in your html code a line like this one:
+ ``
+ Check the `src=""` url, your user id is between `/accounts/avatars/` and `/original/`. So removing the slashs `/` you will get your user id, like in the example: `000180745`
- Other option, just copy your profile name and instance uri here:
-https://prouser123.me/mastodon-userid-lookup/
+ https://prouser123.me/mastodon-userid-lookup/
## 🚀 Improve me
diff --git a/src/index.html b/src/index.html
index 58d791f..daabac1 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,51 +1,48 @@
-
+
+
+
+ Mastodon embed timeline
+
+
+
+
+
+
+
- .dummy-container {
- width: 100%;
- max-width: 26rem;
- height: calc(100% - 4rem);
- margin: 2rem auto;
- }
-
-
+
+