第一个博客内容
Getting started Installation Create a new Hugo site: $ hugo new site [path] Clone this repository into themes/ directory: $ cd [path] $ git clone https://github.com/vaga/hugo-theme-m10c.git themes/m10c Add this line in the config.toml file: theme = "m10c" Configuration In your config.toml file, define the following variables in params: author: Name of the author description: Short description of the author avatar: Path of file containing the author avatar image menu_item_separator: Separator between each menu item. HTML allowed (default: " - “) To add a menu item, add the following lines in menu: [[menu.main]] identifier = “tags” name = “Tags” url = “/tags/” Read Hugo documentations for more informations about menu To add a social link, add the following lines in params: [[params.social]] name = “github” url = “ https://github.com/vaga" To change theme colors, add the following lines in params: [params.style]