This is my web homepage.
- To modify the main page, edit the
_pages/about.mdfile. - To add publications, create a new file under the
_publicationsdirectory. - To modify CV, change the file under
files/resume.pdf - To create new pages, modify the
_data/navigation.ymlfile. - To modify style, edit
_sass/*files.
-
Under
_pagesdirectory, there are different pages likeabout.md,publications.md. These pages are written in markdown format, and they control the content of the page. Things writen in these markdowns will be passed to the layout file as{{ content }}variable. -
Under _config.yml, you will see the layout for the page. For example, the publication page:
scope: path: "" type: publications values: layout: single author_profile: true share: true comments: truewhich means that
single.htmllayout will be used to display the page. And you will find a{{ content }}insingle.html, this variable will be replaced by the content of thepublications.mdfile. -
Go to corresponding layout file under
_layoutsdirectory to modify the layout. For example, thesingle.htmlfile under_layoutsdirectory. -
All the included files (called like
{% include archive-single-publication.html %}inpublication.mdfile) are under_includesdirectory. You can modify them to change the style of the page.