diff options
Diffstat (limited to '_posts')
| -rw-r--r-- | _posts/2014-10-26-learning-how-to-jekyll.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2014-10-26-learning-how-to-jekyll.markdown b/_posts/2014-10-26-learning-how-to-jekyll.markdown index a76cb0e..b6ca449 100644 --- a/_posts/2014-10-26-learning-how-to-jekyll.markdown +++ b/_posts/2014-10-26-learning-how-to-jekyll.markdown @@ -8,7 +8,7 @@ So I wanted to create a better projects page. One that generates itself and gene I first was a bit put off by the prospect of diving into ruby. But I really wanted a way to generate new project pages based on content and not handcraft each page. I also wanted to use markdown for this because It would then be similar to the posts. -So first I define a list of associative arrays in my main config that define my projects. These associative arrays contain a name, a markdown file and a thumbnail to be used on the main projects page. This is all information I need to add in the config. +So first I define a list of associative arrays in my main config that define my projects. These associative arrays contain a name, a markdown file and a thumbnail to be used on the main projects page. This is all information that I need to add in the config. But then I need to generate the project page itself. This is where the Jekyll plug-in system comes into play. This is my project page generator. @@ -80,4 +80,4 @@ end Liquid::Template.register_tag('include_project', Jekyll::InputProjectTag) ``` -The only downside of this is that with jekyll --watch new projects will not appear on the webpage, It seems the global config file is not watched, or maybe its something entirely different. I will look into this later down the line but for now I just wanted to share these modules. +The only downside of this is that with Jekyll --watch new projects will not appear on the web page, It seems the global config file is not watched, or maybe its something entirely different. I will look into this later down the line but for now I just wanted to share these modules. |
