Hi
New Edit: Sorry for not giving all the info required
I’m currently using the Mainroad theme for my offline website, soon to be launched via Netlify when all the posts have been tidied up. I am not using GitHub.
At some point I must have deleted reference to the recent post widget on my config.toml file, but I replaced it later. Unfortunately, it does not show up on my sidebar anymore.
config.toml:
baseURL = '/'
languageCode = 'en-gb'
title = ""
theme = "Mainroad"
contentDir = "content"
paginate = "10" # Number of posts per page
disqusShortname = "" # Enable Disqus comments by entering your Disqus shortname
googleAnalytics = "" # Enable Google Analytics by entering your tracking id
[taxonomies]
category = 'categories'
tag = 'tags'
[menu]
[[menu.main]]
name = 'Home'
url = '/'
weight = 10
[[menu.main]]
name = 'Fearless Francis'
url = '/categories/Fearless Francis'
weight = 20
[[menu.main]]
name = 'Journeys Past'
url = '/categories/Journeys Past'
weight = 30
[[menu.main]]
name = 'TitBits'
url = '/TitBits'
weight = 40
[[menu.main]]
name = 'Glasgow Links'
url = '/WebLinks'
weight = 50
[Author] # Used in authorbox
# name = "© Wishart Frankfield"
# bio = "Retired gentleman from Scotland"
# avatar = "img/WF.png"
[Params]
description = "Unusual tales about Glasgow" # Site description. Used in meta description
copyright = "Wishart Frankfield" # Footer copyright holder, otherwise will use site title
opengraph = true # Enable OpenGraph if true
schema = true # Enable Schema
twitter_cards = false # Enable Twitter Cards if true
readmore = true # Show "Read more" button in list if true
authorbox = false # Show authorbox at bottom of pages if true
toc = true # Enable Table of Contents
pager = true # Show pager navigation (prev/next links) at the bottom of pages if true
post_meta = ["author", "date", "categories", "translations"] # Order of post meta information
mainSections = ["post", "blog", "news"] # Specify section pages to show on home page and the "Recent articles" widget
dateformat = "02-01-2006" # Change the format of dates
mathjax = true # Enable MathJax
mathjaxPath = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js" # Specify MathJax path
mathjaxConfig = "TeX-AMS-MML_HTMLorMML" # Specify MathJax config
googleFontsLink = "https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" # Load Google Fonts
customCSS = ["css/custom.css"] # Include custom CSS files
customJS = ["js/custom.js"] # Include custom JS files
[Params.style.vars]
highlightColor = "#e22d30" # Override highlight color
# Override font-family sets
# Take care of different quotes OR escaping symbols in these params if necessary
fontFamilyPrimary = "'Open Sans', Helvetica, Arial, sans-serif"
# Secondary font-family set responsible for pre, code, kbd, and samp tags font
fontFamilySecondary = "SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"
[Params.logo]
image = "/img/test_2.jpg" # Logo image. Path relative to "static"
# title = "Glasgow Tales" # Logo title, otherwise will use site title
# subtitle = "Strange stories from Scotland's Second City" # Logo subtitle
[Params.thumbnail]
visibility = ["list", "post"] # Control thumbnail visibility
[Params.sidebar]
home = "right" # Configure layout for home page
list = "right" # Configure layout for list pages
single = "right" # Configure layout for single pages
# Enable widgets in given order
widgets = ["social", "recent", "taglist"]
[Params.widgets]
recent_num = 3 # Set the number of articles in the "Recent articles" widget
categories_counter = false # Enable counter for each category in "Categories" widget
tags_counter = true # Enable counter for each tag in "Tags" widget
[Params.widgets.social]
# Enable parts of social widget
email = "wishart.frankfield@gmail.com"
[Params.widgets.search]
# url = "https://google.com/search"
# input.name = "sitesearch"
# input.pre = ""
Thanks
Wishart