baseurl = "http://example.com" disablePathToLower = false languageCode = "en-us" title = "Parsia's Den" theme = "hugo-octopress" # number of blog posts displayed in each page paginate = 6 pygmentsuseclasses = false pygmentsstyle = "solarized_dark" # you need to install Solarized from https://github.com/john2x/solarized-pygment.git # Octopress blog used Solarized_dark # options are solarized_dark (octopress), solarized_dark256 and default (solarized light) # will make the highlight shortcode and ``` do the same thing - otherwise they are treated differently and we do not want that pygmentscodefences = true # can pass in pygments options here, it can also be added in the highlight shortcode # pygmentsoptions = "linenos=true" [permalinks] post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the old ones # make tags and categories work [indexes] tag = "tags" category = "categories" # menu # links will open in a new window except links to "/" - links are added to navigation in hugo-octopress/layouts/partials/navigation.html [[menu.main]] Name = "Blog" URL = "/" weight = -5 [[menu.main]] Name = "Google" URL = "https://www.google.com/" weight = -5 [[menu.main]] Name = "This theme on Github" URL = "https://www.github.com/parsiya/hugo-octopress" # sidebar menus # enable with "sidebar_menu_enabled = true" in [oarams] # header text is "sidebar_menu_header" in [params] [[menu.sidebar]] Name = "Google" URL = "https://www.google.com" weight = 0 [[menu.sidebar]] Name = "Hugo" URL = "/categories/hugo/" weight = 1 [[menu.sidebar]] Name = "Homepage" URL = "/" weight = 2 [params] # number of recent posts that will be shown in the sidebar - set to 0 or remove to hide this section sidebarRecentLimit = 10 # sidebar customization - passed to markdownify sidebar_header = "Sidebar Header" # sidebar text supports markdown # new lines can be added with
or normal markdown (two spaces at the end of line or two new lines). # when adding two new lines, remember to remove the indentation otherwise the new line will be treated as a codeblock sidebar_text = """Sidebar text is passed to *markdownify* so it supports markdown. Here's a [link to google](https://www.google.com)
Second line
Third line """ # sidebar menu # if true will add a sidebar menu between sidebar text and recent posts sidebar_menu_enabled = true sidebar_menu_header = "Sidebar Links" # if false, all of the post will appear on front page (and in pagination) truncate = true # author's name (this will appear in metadata and under posts) author = "Author's name" # appears in the site header under website title subtitle = "Subtitle appears under website title" # used in the search engine search_engine_url = "https://www.google.com/search" # Text of the Continue Reading label. → == right arrow, but it gets messed up in the string so we will add it to index.html manually continue_reading = "Would you like to know more?" # Google analytics code googleAnalytics = "google analytics" # disqus shortcode # disable comments for a specific post by adding "comments: false" in its frontmatter disqusShortname = "Your Google Analytics tracking code" # sidebar links github = "https://github.com/parsiya/" bitbucket = "https://bitbucket.org/parsiya/" twitter = "https://twitter.com/cryptogangsta/" keybase = "https://keybase.io/parsiya/" stackoverflow = "" linkedin = "" googleplus = "" youtube = "" facebook = "" rss = true # switch to true to enable RSS icon link # set to true to use a text label for RSS instead of an icon # this is overwritten by the `rss` setting textrss = false defaultDescription = "" # populate this with your own keywords # defaultKeywords = ["keyword1" , "keyword2" , "keyword3" , "keyword4"] # css override files # paths should be relative to the `static` directory (either the website static directory or the theme one) # custom_css = ["css/custom.css","css/custom2.css"] # 404.html header and text -both support markdown notfound_header = "There's nothing here" notfound_text = """Please either go back or use the navigation/sidebar menus. """ # Set to true to hide ReadingTime on posts disableReadingTime = false # Set to true to disable downloading of remote Google fonts disableGoogleFonts = false # blackfriday is Hugo's markdown engine. Options are at: https://gohugo.io/overview/configuration/ (scroll down to "Configure Blackfriday rendering") [blackfriday] hrefTargetBlank = true # open the external links in a new window fractions = false