Skip to content

myglc2/emacsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emacsite – easy Emacs web sites

Features

Quick start

To create your own site at https://github.com/ yourname/yoursite

Clonegit clone https://github.com/myglc2/emacsite.git yoursite && cd $_ && make repo
Startmake start
Buildmake
Previewmake preview
Commitmake commit
Publishmake gh
Finishmake stop

Embedded software by others

Required software

ItemGuixSD 0.12.0macOS 10.12.3 + brew.shDebian 8
GNU Emacs25.1.125.1.124.4.1
Org-mode8.2.108.2.108.2.10
GNU Make4.23.814.0
curl7.52.17.51.07.43.0
Git2.11.12.10.12.4.3

FAQ

Q: How does it work?
A: Please read makefile and header.org

Q: Why doesn’t make preview open the site or run the browser I want?
A: Please edit makefile and set BROWSER := to run the browser you like

Q: Why am I getting 404’s
A: For unknown reasons GitHub sometimes fails to update the site or a page. You can push the whole site again with touch index.org && make gh. If just one page is affected, you can do ~ git checkout gh-pages~, make a trivial change, commit, and push.

Q: How do I change the code highlight colors?
A: Try M-x load-theme ?

Q: How do I delete a <page>?
A: Delete <page>.org and remove references to <page>.html from the menu section of header.org and remove references, if any, to <page>.org from makefile

Q: How do I add a <newpage>?
A: Create <newpage>.org and add references to <newpage>.html in the menu section of header.org. If newpage.org includes .org files besides header.org, (e.g. myinclude.org) then add a rule to the makefile like

newpage.html: myinclude.org