Skip to content

Error failed to read social.base* Expected value but '\' found instead #150

@jlosito

Description

@jlosito

When using the minimo theme and building my Hugo project, I am receiving the following error.

Building sites … ERROR 2018/06/19 10:34:05 Failed to read data from theme.toml/theme.toml: Near line 2, key 'social.base.codepen': Near line 2: Expected value but found '\'' instead.

Even though this is listed as an error, this does not cause my build to fail as shown in the output below.

                   | EN  
+------------------+----+
  Pages            | 26  
  Paginator pages  |  1  
  Non-page files   |  0  
  Static files     | 19  
  Processed images |  0  
  Aliases          |  2  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 97 ms

Below is the the structure of my .gitmodules

[submodule "themes/minimo"]
         path = themes/minimo
         url = https://github.com/MunifTanjim/minimo

Below is the structure of my config.toml less some information.

# https://gohugo.io/getting-started/configuration/
# https://github.com/MunifTanjim/minimo/blob/master/exampleSite/config.toml

languageCode = "en-us"
title = "Open Practice Library"
theme = "minimo"
# Why "docs" and not "public"? https://git.io/vXzj6
publishDir = "docs"
canonifyURLs = true

[params.assets]
customCSS = ["css/custom.css"]

[permalinks]
page = "/:slug/"                    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions