![]() ![]() ![]() In _config.yml you need to change three key values: There are some changes you need to make in the website. Click Save, and GitHub will start compiling your website. Here, you will need to pick a Source branch and then the root directory. If you go to the website now, you’ll find that the color of the title of the page has changed. The last line is what we added, which is a link to the stylesheet we created assets/styles.css. site-title:visited Įverything before the last line is from the minima theme. To do it with the second method, first create the file assets/styles.css with the following content. Create a new file and add it to the head of the website.Then you can make any additions to it and it will be shown. Copy the content of main.css in the _site directory, then create a new file in the root of your directory assets/main.css with the content you copied.To add CSS to your website, you have two options: These include CSS and Javascript files or images. If you restart the server and go to the website now, you will see that the website name has changed in the navigation bar, footer, and anywhere else it might be used.Īny assets that you add in the root of the directory will automatically be included in the Jekyll build. Let’s try changing the website title: title: Tech BlogĬhanges to _config.yml will not be shown by refreshing or through live reload. Also, Minima has additional configuration as well. By default there’s only jekyll-feed.įor a full list of configurations, check them on Jekyll’s website. plugins: The plugins you will use on your website. ![]() github_username: Your GitHub username, which will appear in the footer.twitter_username: Your twitter username, which will appear in the footer.baseurl: The subpath of the website, for example /blog.description: Description of the website.email: Contact email that will also appear in the footer.The _config.yml file by default has the following keys: To change your website/blog’s information like title or URL, all meta information is included in the _config.yml file. ![]()
0 Comments
Leave a Reply. |