mmistakes / so-simple-theme

A simple Jekyll theme for words and pictures.
https://mmistakes.github.io/so-simple-theme/
MIT License
2.05k stars 2.49k forks source link

Single entry for site.author.links does not work #280

Closed v60fan closed 6 years ago

v60fan commented 6 years ago

Environment information


Expected behavior

I'm wanting to only list a single entry in site.author.links (in my case Instagram). However, when I only have this single entry, nothing appears in the sidebar under the author. If I simply add a second link, such as GitHub, the first link appears. Is it not possible to only have 1 link entry?

Steps to reproduce the behavior

Here is the excerpt in my _config.yml

author:
  name: My Name
  picture: /images/my_image.jpg
  email:
  twitter:
  links:
    - title: Instagram
      url: https://instagram.com/my_profile
      icon: fab fa-instagram
mmistakes commented 6 years ago

Good catch, yes this is a bug. Fixed on master.