mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Added A Suite of Improvements (#25)
* * Created site files are now placed in an output directory (defaults to dist.) * Output directory can be specified via the --out flat * Added a ton of coments in build.js * Made functions in build.js use bluebird promises * Themes are now in the assets/templates folder instead as magic strings in the source code * Any number of custom themes (not just light and dark) can be used by creating a [theme].css file and putting it in assets/themes * CSS themes are rendered with Handlebars * CSS themes now rely on Handlebars for specifying the background image * Restored config.json to template file * Changes to the blogging feature * Moved blog templates and config files to assets/blog * Created blog pages now go to dist/blog/ * Updated blog.js accordingly * Make blog.js use the --out setting to specify where blog files should be put * create a gitfolio.js file that calls blog/update/populate/build.js files as commands instead of having to run each script manually * Make blog/populate.js use bluebird promises * Updated the README to reflect the changes made by this pull request * Added link to demo site in README
This commit is contained in:
parent
17a5aa2dc8
commit
e3efba34c1
13 changed files with 367 additions and 240 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -59,3 +59,9 @@ typings/
|
|||
|
||||
# next.js build output
|
||||
.next
|
||||
|
||||
# Built website files
|
||||
dist/
|
||||
|
||||
# Editor files and folders
|
||||
.vscode/
|
Loading…
Add table
Add a link
Reference in a new issue