See the final version live here!
Made using a template from the Agency template at Start Bootstrap. It features a smooth scrolling one page theme, with an external blogging section run by Jekyll. For more information about the site, please contact WiCS using the form on our official website.
####How to make a blog post:
-
Create a new file inside
_posts/yearnamedyear-month-day-postTitle.markdownwhereyear-month-dayis the date you wish to publish, andpostTitleis the title of the post. -
Every post should include YAML front matter and is written with Markdown.
http://jekyllrb.com/docs/frontmatter/
http://jekyllrb.com/docs/posts/ -
The basic front matter to include (including the 3 dashes):
--- layout: post title: "Title of blog post" date: year-month-day categories: news --- -
You can continue typing anything below that. For formatting, links, and images look up how to do that with Markdown! Otherwise, browse around existing posts to see examples.
-
To test how the post will look locally, run "
jekyll serve" from root folder.
####How to style the blog:
-
The homepage is in
blog.html. This file only includes the posts section of the page. The rest of the page is in_layouts/blog.html. Theblog.htmlin the root folder is included in the section marked{{ content }}inside_layouts/blog.html. This "layout" file includeshead.htmlandfooter.htmlwhich are located in the same folder.head.htmlincludes css files. -
Individual post pages use
_layouts/post.html. It uses the sameblog.htmllayout as the blog home page, but the post content area is styled differently inpost.html
####How to change emails for the contact form:
-
For each category of inquiry on the contact form (i.e. listserv announcement, company collaboration, anything else), emails get sent to different board members (i.e. Publicity Chair, Corporate Chairs, President, respectively).
-
To change the email addresses, go into
js/contact_me.jsto lines 25-34. Change email addresses as fit for the variableemail_add, add a second email if needed using the specifiedccvariable.