add assets -> styles, consolidate md files
This commit is contained in:
parent
a6ff165e6b
commit
d98d514ca4
19
BUGS.md
19
BUGS.md
|
@ -1,19 +0,0 @@
|
||||||
BUGS
|
|
||||||
====
|
|
||||||
|
|
||||||
* index page /index/index.html
|
|
||||||
* rss feed missing
|
|
||||||
|
|
||||||
Usability
|
|
||||||
=========
|
|
||||||
|
|
||||||
* compile dev vs prod
|
|
||||||
* new posts
|
|
||||||
|
|
||||||
Feautres
|
|
||||||
========
|
|
||||||
|
|
||||||
* permalink url maker
|
|
||||||
* tags
|
|
||||||
* categories
|
|
||||||
* output to os.tmpdir (i.e. /tmp)
|
|
51
MIGRATE.md
51
MIGRATE.md
|
@ -1,51 +0,0 @@
|
||||||
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]
|
|
||||||
```
|
|
||||||
|
|
||||||
All directories are ignored by default. If you want a directory to be interpreted as a collection of pages you need to specify it in the `collections` hash.
|
|
||||||
|
|
||||||
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.
|
|
52
TODO.md
52
TODO.md
|
@ -83,3 +83,55 @@ Overlays
|
||||||
For any config a widget uses, it should also check on post.fooconfig and theme.fooconfig to make sure that they don't override the foogizmo.config.fooconfig
|
For any config a widget uses, it should also check on post.fooconfig and theme.fooconfig to make sure that they don't override the foogizmo.config.fooconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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]
|
||||||
|
```
|
||||||
|
|
||||||
|
All directories are ignored by default. If you want a directory to be interpreted as a collection of pages you need to specify it in the `collections` hash.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
|
@ -775,6 +775,7 @@
|
||||||
, title: view.site.title
|
, title: view.site.title
|
||||||
}
|
}
|
||||||
, styles: view.desi.styles.join('\n')
|
, styles: view.desi.styles.join('\n')
|
||||||
|
, assets: view.desi.styles.join('\n')
|
||||||
, widgets: {
|
, widgets: {
|
||||||
comments: view.site.disqus_shortname &&
|
comments: view.site.disqus_shortname &&
|
||||||
Mustache.render(view.desi.partials.disqus, { disqus: {
|
Mustache.render(view.desi.partials.disqus, { disqus: {
|
||||||
|
|
Loading…
Reference in New Issue