New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to setup my own css ? #89
Comments
Hi, For your requirement, It's better to define a new theme. But sorry, currently org-page can only support themes defined in the folder "themes" under its load directory. But, I have updated code to support customized theme directory. You may wait some time for melpa to update org-page to newest version and then you can upgrate org-page to do that, or you can clone the master branch to enable this feature immediately. Assume you have a theme called "simple", stored at "/themes", you should set the two variables:
And your own theme directory should have the following structure:
Oh, so many files, uh? However, as you described, you just want to do some customization to css, so, you could just copy the Hope that helps, |
Thanks for the updates. |
I tested this and works find. I would just change the themes name if you copied the =themes= directory under org-page directory, because org-page seems to not updated the generated html files if the name of the themes is the same. |
Also tested with the latest version, and this looks fine. I suggest closing this issue. |
After you changed something in the templates, you need to clear the template cache to make the changes take effect:
Sorry that I didn't mention this above. |
in mdo template, there is a file called |
@shackra Oh, it's an obsolete template, which is used by early version org-page. |
Nice idea utilizing org as static generator with git.
I finally figured out how to update my own github.io pages, but from my point of view, the mod css looks too much for me. I just want to simplest css site. How to configure?
My own org-page configuration follows
it seems that op/template-directory var is key to do that but I've not catch up yet.
Any help would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: