![]() ![]() The Slate theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. See the open issues for a list of proposed features (and known issues). prefix, and each variable name (after the github.) should be indent with two space below github.įor more information, see the Jekyll variables documentation. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.For example, if the variable was, you'd add the following: Specify the URL that you'd like the template to use in your site's _config.yml.Look at the template source to determine the name of the variable.If you'd like to override one or more default URLs: Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you would like to take advantage of the latest code, paste it into _includes/head-custom-google-analytics.html in your Jekyll site. Google has released several iterations to their Google Analytics code over the years since this theme was first created. Paste the default layout content copied in the first step.Create a file called /_layouts/default.html in your site.( Pro-tip: click "raw" to make copying easier) For more extensive changes, copy the original template from the theme's repository.The files provided with the theme provide a starting point and are included by the original layout template. For some changes such as a custom favicon, you can add custom files in your local _includes folder.If you'd like to change the theme's HTML layout: Note: If you'd like to change the theme's Sass variables, you must set new values before the line in your stylesheet. Add any custom CSS (or Sass, including imports) you'd like immediately after the line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |