# Hello! This is where you manage which Jekyll version is used to run. # When you want to use a different version, change it below, save the # file and run `bundle install`. Run Jekyll with `bundle exec`, like so: # # bundle exec jekyll serve # # This will help ensure the proper Jekyll version is running. # Happy Jekylling!
# The following plugins are automatically loaded by the theme-gem: # gem "jekyll-paginate" # gem "jekyll-sitemap" # gem "jekyll-gist" # gem "jekyll-feed" # gem "jekyll-include-cache" # # If you have any other plugins, put them here! group :jekyll_plugins do end
# Welcome to Jekyll! # # This config file is meant for settings that affect your whole blog, values #which you are expected to set up once and rarely edit after that. If you find # yourself editing this file very often, consider using Jekyll's data files # feature for the data you need to update frequently. # # For technical reasons, this file is *NOT* reloaded automatically when you use #'bundle exec jekyll serve'. If you change this file, please restart the server process. # # If you need help with YAML syntax, here are some quick references for you: # https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml # https://learnxinyminutes.com/docs/yaml/ # # Site settings # These are used to personalize your new site. If you look in the HTML files, # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible #in the templates via {{ site.myvariable }}.
title: Your awesome title email: your-email@example.com description: >- # this means to ignore newlines until "baseurl:" Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description. baseurl: "" # the subpath of your site, e.g. /blog url: "https://evestorm.github.io" # the base hostname & protocol for your site, e.g. http://example.com repository: "{github_username}/{github_username}.github.io" # 把 {github_username} 替换成你github的username twitter_username: jekyllrb github_username: lance # 你的username,随便填
# Exclude from processing. # The following items will not be processed, by default. # Any item listed under the `exclude:` key here will be automatically added to # the internal "default list". # # Excluded items can be processed by explicitly listing the directories or # their entries' file path in the `include:` list. # # exclude: # - .sass-cache/ # - .jekyll-cache/ # - gemfiles/ # - Gemfile # - Gemfile.lock # - node_modules/ # - vendor/bundle/ # - vendor/cache/ # - vendor/gems/ # - vendor/ruby/
然后执行 bundle update。
替换和更改
替换根目录下 index.markdown 为 index.html :
1 2 3 4
--- layout: home author_profile: true ---
找到 _posts/0000-00-00-welcome-to-jekyll.md 并替换 layout: single