emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
673 stars 99 forks source link

[Suggese] Add a software site template #114

Closed tumashu closed 9 years ago

tumashu commented 9 years ago

I want use org-page to generate chinese-pyim website, but I don't like blog style.... Is it possible add a site template which more like a software webpage?

sillykelvin commented 9 years ago

Yeah, the page structure/style can be totally customized, however, I am not a html/css guy, so hope someone else could offer some help...

tumashu commented 9 years ago

Maybe we should add a README which can tell the user how to use himself theme.

kuangdash commented 9 years ago

@kelvinh I have applied org-page to “emacs-china.org”, and customized a theme called 'emacs_love'. (you can see it by visiting emacs-china.org)

But since my 'git diff' and 'git patch' got some problem recently, is it convenient for you to extract the theme for a new theme of org-page? And I disabled op/verify-comments to support both disqus and duoshuo, hoping you can apply it to org-page……

tumashu commented 9 years ago

@kuangdash Maybe we should build a emacs package which is called `org-page-theme-lovemacs'

I think that org-page should only include a basic theme....

sillykelvin commented 9 years ago

@kuangdash Thanks for your effort, I really love the table-of-contents design.

however:

  1. the copyright of this theme belongs to you, it's not proper for me to extract it and add it to org-page
  2. as @tumashu said, it would be a great idea for us to create another package called org-page-themes to collect various themes, org-page will only include a basic theme, I will create another repository for this later.

Hope you can fix your git system ASAP, and it would be great that you can send a pull request for the dual commenting system integration.

tumashu commented 9 years ago

Ok, In my opinion we should define how to build a org-page theme package,

let op/theme-root-directory' directory list, likeload-path'? I don't know.

The theme package names like this?

  1. org-page-themes
  2. org-page-theme-
sillykelvin commented 9 years ago

No, I will create another repo for org-page themes, and all great themes will be merged there, the theme can be easily used by set an option:

(setq a-theme-select-variable 'a-theme-from-the-theme-package)

This is the basic idea currently I come up, if you have better ideas, please let me know.

tumashu commented 9 years ago

Just try, I suggest put this feature to new branch before it actually works well. by the way,

"Don't forget the users who manager their own theme in source dir"

kuangdash commented 9 years ago

@tumashu appreciate your opinion,theme should be managered in the source branch