Create MIGRATE.md
This commit is contained in:
parent
3e9431ff2c
commit
0d8474c26a
|
@ -0,0 +1,49 @@
|
|||
Migrating from Ruhoh
|
||||
====================
|
||||
|
||||
There are only a few things in Ruhoh that could only be done in ruby or were otherwise difficult to work around.
|
||||
|
||||
config.yml
|
||||
----------
|
||||
|
||||
Instead of having special names for some properties (`_root`)
|
||||
and `use` sub attributes for others (`twitter` theme, posts directory),
|
||||
I opted to move related stuff together.
|
||||
|
||||
```
|
||||
RuhohSpec 2.6 -> NuhohSpec 3.0
|
||||
|
||||
production_url -> production.canonical_url, development.canonical_url
|
||||
base_path -> production.base_path, development.base_path
|
||||
compiled_path -> development.compiled_path
|
||||
|
||||
twitter -> themes.twitter
|
||||
twitter.use = theme -> themes.default = twitter
|
||||
|
||||
_root -> root
|
||||
|
||||
posts -> collections.posts
|
||||
|
||||
asset_pipeline [REMOVED (ruby only)]
|
||||
|
||||
widgets [NO CHANGE]
|
||||
```
|
||||
|
||||
data.yml
|
||||
--------
|
||||
|
||||
No changes
|
||||
|
||||
|
||||
config.ru
|
||||
---------
|
||||
|
||||
REMOVED (ruby only)
|
||||
|
||||
themes layout
|
||||
-------------
|
||||
|
||||
TODO
|
||||
|
||||
`twitter/default.html` has stuff like `{{# data.navigation?to__root }}{{> page_list }}{{/ data.navigation?to__root }}`
|
||||
that appears to be ruby-only syntax that will need to be changed.
|
Loading…
Reference in New Issue