summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2018-04-08 18:56:23 +0200
committerGustav Eek <gustav.eek@fripost.org>2018-04-08 18:56:23 +0200
commit11d202682aec340f0d9f3a967a641de9f48ef823 (patch)
treebe6393d13fbf44d840ad67055c99c43c684d72d3
parenta7ac75f0b0442aeabe44cc4aea132b470deecaca (diff)
Added Swish information to membership page
-rw-r--r--website/medlemskap.mdwn9
-rw-r--r--wiki-preview.mdwn21
2 files changed, 27 insertions, 3 deletions
diff --git a/website/medlemskap.mdwn b/website/medlemskap.mdwn
index 4d0cfd5..55e8d60 100644
--- a/website/medlemskap.mdwn
+++ b/website/medlemskap.mdwn
@@ -16,10 +16,13 @@ tillräckligt.
Enklast är betala till något av följande konton:
- * Plusgiro - 47 78 84-1
- * Bankgiro - 311-5060
+ * Plusgiro – 47 78 84-1
+ * Bankgiro – 311-5060
-Man kan också betala kontant på någon av [föreningens träffar](https://wiki.fripost.org/moten/).
+Man kan också betala kontant på någon
+av [föreningens träffar](https://wiki.fripost.org/moten/) eller vi Swish:
+
+ * Swish – 123 123 9805
Slutligen kan man betala via _PayPal_ genom att klicka på den här knappen:
diff --git a/wiki-preview.mdwn b/wiki-preview.mdwn
index 7e6df82..71cf7d1 100644
--- a/wiki-preview.mdwn
+++ b/wiki-preview.mdwn
@@ -48,6 +48,27 @@ You can also create an alias for to refresh the preview command.
$ alias fripost-wiki-preview-refresh='ikiwiki -setup /home/gustav/lab-wiki/fripost-wiki.setup -refresh'
+
+Public www locations (userdir)
+------------------
+
+For to be able to access `http://localhost/~user` the "userdir"
+functionality is needed. For Nginx, put the following in e.g.
+*/etc/nginx/sites-available/localhost*:
+
+```
+server {
+ location ~ ^/~(.+?)(/.*)?$ {
+ alias /home/$1/public_html$2;
+ index index.html index.htm
+ autoindex on;
+ }
+}
+```
+
+Relative paths
+--------------
+
Many links on the Fripost wiki are absolute. That means that you
sometimes will not be able to follow homepage page and wiki page links
between your local preview wiki. For testing purposes, that can