From the course: Learning Static Site Building with Jekyll
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add a page
- [Nate] Not all websites are blogs, and even blogs need some stand alone pages that aren't blog posts. Jekyll makes it easy to create these stand alone pages too. Let's say I want to make a page on my site for all my projects. I can do bundle exec jeckyll page this time and let's call this page projects. Over in my editor, I have a new file called projects.md, not inside the posts folder, outside of it. On here I can add some content. I can say, maybe, my projects and maybe a list of my projects. Awesome static sites, other video courses, et cetera. Now when I go start the server with bundle exec jekyll serve and refresh my local preview site, the theme we're using shows the new page on the top right side, so I have a link to projects now. The about.md file, that came out of the box when we created a new Jekyll site, is also one of these stand alone pages. Let's modify this and delete the boiler plate info. I'll say something like, hello, I'm Nate, this is my blog and I'll link over…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.