zoli
July 16, 2020, 7:43am
1
Hi,
I try to configure minimal mistakes theme with author profile. I used the same configuration as in the quick start guide, but only name, avatar and bio are visible.
How can y use location and links under my bio? I use default skin.
Thanks for help.
My guess your indents are off in the YAML, but without seeing what you added to _config.yml
it’s impossible to know for sure.
author:
name: "Your Name"
avatar: "/assets/images/bio-photo.jpg"
bio: "I am cool."
location: "Somewhere"
links:
- label: "Website"
icon: "fas fa-fw fa-link"
url: "https://xxx.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/xxx"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/xxx"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/xxx"
zoli
July 16, 2020, 3:06pm
3
Hi, thanks for reply, but it still dosn’t woks.
In the postes i’ve added:
---
layout: single
author_profile: true
---
Here is my _config.yml file
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
# Site Settings
locale : "en-US"
title : "Site Title"
title_separator : "-"
name : "Your Name"
description : "An amazing website."
# Site Author
author:
name: "Your Name"
#avatar: "/assets/images/bio-photo.jpg"
bio: "I am cool."
location: "Somewhere"
links:
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/z-sram"
# Reading Files
include:
- .htaccess
- _pages
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- vendor
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- assets/js/plugins
- assets/js/_main.js
- assets/js/vendor
- Capfile
- CHANGELOG
- config
- Gemfile
- Gruntfile.js
- gulpfile.js
- LICENSE
- log
- node_modules
- package.json
- package-lock.json
- Rakefile
- README
- tmp
keep_files:
- .git
- .svn
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
# Conversion
markdown: kramdown
highlighter: rouge
lsi: false
excerpt_separator: "\n\n"
incremental: false
# Markdown Processing
kramdown:
input: GFM
hard_wrap: false
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
enable_coderay: false
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # https://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Plugins (previously gems:)
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jekyll-include-cache
# mimic GitHub Pages with --safe
whitelist:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jekyll-include-cache
# Archives
category_archive:
type: liquid
path: /categories/
tag_archive:
type: liquid
path: /tags/
# HTML Compression
# - https://jch.penibelst.de/
compress_html:
clippings: all
ignore:
envs: development
# Defaults
defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
read_time: true
comments: # true
share: true
related: true
Thanks
Do you have a link to a public repo so I can see/build from your source?