Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Got error when tweets is not exists #91

@LinuxSuRen

Description

@LinuxSuRen

Here is my config.toml

baseURL = "http://autotest.surenpi.com/"
languageCode = "zh-CN"
title = "PhoenixAutotest Docs"
theme = "gohugoioTheme"

[[gloabl.menu]]
  name = "文档"
  url = "/docs"
  identifer = "docs

When I run cmd 'hugo server', got error information below:

Building sites … ERROR 2018/04/28 11:57:21 Error while rendering "home" in "": template: /Users/mac/IdeaProjects/Github/phoenix-autotest/phoenix.docs/themes/gohugoioTheme/layouts/index.html:23:8: executing "main" at <partial "home-page-s...>: error calling partial: template: theme/partials/home-page-sections/tweets.html:9:22: executing "theme/partials/home-page-sections/tweets.html" at <sort $.Site.Data.hom...>: error calling sort: sequence must be provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions