From 842dbe226e062eefb1eaec7d659203af220fa627 Mon Sep 17 00:00:00 2001 From: luke2m <66685476+luke2m@users.noreply.github.com> Date: Mon, 17 May 2021 10:44:35 -0400 Subject: [PATCH 1/2] Create widget.html --- widget.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 widget.html diff --git a/widget.html b/widget.html new file mode 100644 index 0000000..dc7fe8a --- /dev/null +++ b/widget.html @@ -0,0 +1,8 @@ +
+

+ Member of My Webring +

+

+ Previous   |   Random   |   Next +

+
From 83d2f8318a29d6c7867933ea234f2efb13382ffb Mon Sep 17 00:00:00 2001 From: luke2m <66685476+luke2m@users.noreply.github.com> Date: Mon, 17 May 2021 11:04:16 -0400 Subject: [PATCH 2/2] Add widget info to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 43ab93f..3025130 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,4 @@ Add this to your netlify account, have folks add their sites to `/data/sites.json` and you're off to the races. -Each site can add a widget to their site and hit the end points `/next`, `/random` and `/previous` to send their users to a new site! \ No newline at end of file +Each site can add a widget to their site and hit the end points `/next`, `/random` and `/previous` to send their users to a new site! A sample widget is provided at `widget.html`; just copy that into your website's code and replace the urls with your own.