you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (3 children)

You can't change any configuration parameters, on their values. And no changes to a sane value should cause a 503. Beware that after a reddit-restart or start, the site may throw 503 and be inaccessible for up to 3 minutes (cron jobs are overwhelming the system).

The appearance is all in .html and .less files. After you change .less, you've gotta run refresh-css.sh to rebuild css (in production mode, if uncompressedJs is false).

Images are in r2/r2/public/static.

[–]portcity[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (2 children)

Could you tell me how to access these files in my server: https://github.com/libertysoft3/saidit/blob/master/r2/r2/public/static/css/theme-custom.less https://github.com/libertysoft3/saidit/blob/master/r2/r2/public/static/css/themes/daymode.less

And also: where should I go to change the links in the footer?

Thank you!!

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (1 child)

The footer links are hardcoded somewhere (yuck), you can find them by searching.

This file https://github.com/libertysoft3/saidit/blob/master/r2/r2/public/static/css/theme-custom.less

Is here: /home/reddit/src/reddit/r2/r2/public/static/css/theme-custom.less

[–]portcity[S] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (0 children)

Here's where the footer links are (putting it here so I'll remember it!) Line 1234: /home/reddit/src/reddit/r2/r2/lib/pages/pages.py

Happy almost weekend ....