Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quick start guide: Remove usage of Ananke theme #2548

Open
jmooring opened this issue Apr 29, 2024 · 3 comments
Open

quick start guide: Remove usage of Ananke theme #2548

jmooring opened this issue Apr 29, 2024 · 3 comments
Assignees

Comments

@jmooring
Copy link
Member

hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
hugo new posts/post-1.md
hugo new posts/post-2.md
hugo new posts/post-3.md
hugo new posts/post-4.md
hugo -D

Error: error building site: render: failed to render pages: render of "home" failed: "/home/user/projects/quickstart/themes/ananke/layouts/index.html:48:23": execute of template failed: template: index.html:48:23: executing "main" at <.Site.GetPage>: can't evaluate field Site in type string

Someone broke the Ananke theme last week:
theNewDynamic/gohugo-theme-ananke#665

There's an open PR to fix it:
theNewDynamic/gohugo-theme-ananke#685

@yaardie
Copy link

yaardie commented May 4, 2024

PR was merged.

@jmooring
Copy link
Member Author

jmooring commented May 5, 2024

@yardie After correspondence with the Ananke theme author, we're going to document use of the minimal theme created by hugo new theme foo instead. The Ananke theme has not been updated to include newer Hugo features, and it is unlikely to be updated in the near future.

@jmooring jmooring changed the title Quick start guide is broken due to Ananke bug quick start guide: Remove usage of Ananke theme May 5, 2024
@yaardie
Copy link

yaardie commented May 5, 2024

I am a supporter of using hugo new theme in the Quick Start guide. The skeleton theme presents a usable theme anyway.

@jmooring jmooring removed the Upstream label May 10, 2024
@jmooring jmooring self-assigned this May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants