Last active
December 15, 2015 09:49
Revisions
-
philipn revised this gist
Apr 7, 2013 . 1 changed file with 5 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,15 @@ If you've customized your CSS or otherwise altered your ``site/base.html`` template you'll want to do the following: Back up your old base.html template:: sudo cp /usr/share/localwiki/templates/site/base.html ~/base.html.bak Now just remove the base.html template:: sudo rm /usr/share/localwiki/templates/site/base.html You'll then want to follow the instructions for customizing the CSS: https://localwiki.readthedocs.org/en/latest/customizing.html#example-2-adding-a-custom-css-file-on-every-page The only difference now is that we make the CSS-specific changes in a new ``site/extra_media.html`` template rather than adding them directly into ``base.html``. -
philipn revised this gist
Mar 26, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ If you've customized your CSS or otherwise altered your ``site/base.html`` template you'll want to do the following: First, figure out where the localwiki code directory lives:: -
philipn revised this gist
Mar 26, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,4 +16,4 @@ You'll then want to follow the instructions for customizing the CSS: https://localwiki.readthedocs.org/en/latest/customizing.html#example-2-adding-a-custom-css-file-on-every-page The only difference now is that we make the CSS-specific changes in a new ``site/extra_media.html`` template. -
philipn revised this gist
Mar 26, 2013 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,10 @@ Then type:: that will print out where the code directory lives. Then enter that directory and copy ``themes/sapling/templates/site/base.html`` to your ``/usr/share/localwiki/templates/site/base.html`` You'll then want to follow the instructions for customizing the CSS: https://localwiki.readthedocs.org/en/latest/customizing.html#example-2-adding-a-custom-css-file-on-every-page The only difference now is that we make the CSS-specific changes in a new site/extra_media.html template. -
philipn revised this gist
Mar 26, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ If you've customized your CSS or otherwise altered your site/base.html template you'll want to do the following: First, figure out where the localwiki code directory lives:: localwiki-manage shell -
philipn revised this gist
Mar 26, 2013 . No changes.There are no files selected for viewing
-
philipn renamed this gist
Mar 26, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ If you've customized your CSS or otherwise altered your site/base.html template you'll want to do the following: 1. Figure out where the localwiki code directory lives:: localwiki-manage shell Then type:: import sapling; print sapling.__path__[0]; exit() that will print out where the code directory lives. -
philipn created this gist
Mar 25, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ If you've customized your CSS or otherwise altered your site/base.html template you'll want to do the following: 1. Figure out where the localwiki code directory lives: localwiki-manage shell Then type: import sapling; print sapling.__path__[0]; exit() that will print out where the code directory lives. Then enter that directory and copy themes/sapling/templates/site/base.html to your /usr/share/localwiki/templates/site/base.html You'll then want to follow the instructions for customizing the CSS: https://localwiki.readthedocs.org/en/latest/customizing.html#example-2-adding-a-custom-css-file-on-every-page The only difference now is that we make the CSS-specific changes in a new site/extra_media.html template.