From c5cab1ad634cf41a4f097c412d2f5acc909c7911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org> Date: Wed, 21 Aug 2019 12:10:42 -0400 Subject: [PATCH] more cosmetic changes to static sites docs --- tsa/doc/static-sites.creole | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/tsa/doc/static-sites.creole b/tsa/doc/static-sites.creole index 8a4987a2..400eeb18 100644 --- a/tsa/doc/static-sites.creole +++ b/tsa/doc/static-sites.creole @@ -1,14 +1,17 @@ -[[!meta title="writing to www, extra, dist, cdn, and other websites"]] +[[!meta title="How make website changes"]] -The https://www.torproject.org website is hosted at several computers for -redundancy, and these computers are together called "the www -rotation". The www rotation serves a variety of other websites too, -like extra.tp.o, dist.tp.o, and more. +How to change the website +========================= -How do you edit one of these websites? Let's say you want to edit `extra`. +The [[https://www.torproject.org|Tor website]] is hosted at several +computers for redundancy, and these computers are together called "the +www rotation". The www rotation serves a variety of other websites +too, like extra.tp.o, dist.tp.o, and more. -* First you ssh in to {{{staticiforme}}} (using an ssh jump host if needed - [[learn how to do a ssh jump host|ssh-jump-host]]) +How do you edit one of these websites? Let's say you want to edit {{extra}}. + +* First you ssh in to {{{staticiforme}}} (using an [[ssh jump + host|ssh-jump-host]] if needed) * Then you make your edits as desired to {{{/srv/extra-master.torproject.org/htdocs/}}} @@ -21,7 +24,7 @@ sudo -u mirroradm static-update-component extra.torproject.org }}} Example: You want to copy image.png from your Desktop to your blog -post indexed as **2017-01-01-new-blog-post**: +post indexed as {{2017-01-01-new-blog-post}}: {{{ scp /home/user/Desktop/image.png staticiforme.torproject.org:/srv/extra-master.torproject.org/htdocs/blog/2017-01-01-new-blog-post/ -- GitLab