aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/md/Theming.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/md/Theming.md')
-rw-r--r--doc/md/Theming.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/md/Theming.md b/doc/md/Theming.md
index d72c2ffd..bd400776 100644
--- a/doc/md/Theming.md
+++ b/doc/md/Theming.md
@@ -8,6 +8,7 @@ There are two ways of customizing how Shaarli looks:
8## Custom CSS 8## Custom CSS
9 9
10Shaarli's appearance can be modified by adding CSS rules to: 10Shaarli's appearance can be modified by adding CSS rules to:
11
11- Shaarli < `v0.9.0`: `inc/user.css` 12- Shaarli < `v0.9.0`: `inc/user.css`
12- Shaarli >= `v0.9.0`: `data/user.css` 13- Shaarli >= `v0.9.0`: `data/user.css`
13 14
@@ -19,9 +20,8 @@ See also [Download CSS styles from an OPML list](Download CSS styles from an OPM
19 20
20## Themes 21## Themes
21 22
22_WARNING - This feature is currently being worked on and will be improved in the next releases. Experimental._
23
24Installation: 23Installation:
24
25- find a theme you'd like to install 25- find a theme you'd like to install
26- copy or clone the theme folder under `tpl/<a_sweet_theme>` 26- copy or clone the theme folder under `tpl/<a_sweet_theme>`
27- enable the theme: 27- enable the theme:
@@ -54,6 +54,7 @@ Installation:
54## Example installation: AlbinoMouse theme 54## Example installation: AlbinoMouse theme
55 55
56With the following configuration: 56With the following configuration:
57
57- Apache 2 / PHP 5.6 58- Apache 2 / PHP 5.6
58- user sites are enabled, e.g. `/home/user/public_html/somedir` is served as `http://localhost/~user/somedir` 59- user sites are enabled, e.g. `/home/user/public_html/somedir` is served as `http://localhost/~user/somedir`
59- `http` is the name of the Apache user 60- `http` is the name of the Apache user
@@ -77,7 +78,7 @@ Get config written:
77- fill the install form 78- fill the install form
78- log in to Shaarli 79- log in to Shaarli
79 80
80Edit Shaarli's [configuration|Shaarli configuration](configuration|Shaarli configuration): 81Edit Shaarli's [configuration](Shaarli-configuration):
81```bash 82```bash
82# the file should be owned by Apache, thus not writeable => sudo 83# the file should be owned by Apache, thus not writeable => sudo
83$ sudo sed -i s=tpl=tpl/albinomouse-template=g shaarli/data/config.php 84$ sudo sed -i s=tpl=tpl/albinomouse-template=g shaarli/data/config.php