Skip to content

Conversation

@mooskagh
Copy link
Member

@mooskagh mooskagh commented Jun 7, 2025

  • This is me attempting to recreate visually similar website without using the original theme (which is quite complicated)
  • Doesn't use SCSS, so works with basic version of Hugo
  • Some minor fixes along the way: icons for social media, slightly higher density (e.g. in tables), allow slightly wider content.

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@mooskagh
Copy link
Member Author

mooskagh commented Jun 7, 2025

Works now, but I plan to go page by page tomorrow to check whether e.g. chess game snippets still work.

@mooskagh mooskagh marked this pull request as ready for review June 7, 2025 21:11
@mooskagh mooskagh requested review from borg323 and Copilot June 7, 2025 21:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the external “whisper” theme with a custom “leela” theme by removing legacy layout, SCSS, and JS files, introducing streamlined Hugo templates under layouts/blog, and updating front matter with manual summaries.

  • Removed all old theme layout, SCSS, and JS files.
  • Added new layouts/blog/section.html and layouts/blog/page.html.
  • Updated config.toml to switch to the new leela theme and added summary front matter entries.

Reviewed Changes

Copilot reviewed 243 out of 243 changed files in this pull request and generated no comments.

Show a summary per file
File Description
layouts/blog/single.html Deleted – legacy single post template removed.
layouts/blog/section.html Added – provides new blog index layout.
layouts/blog/page.html Added – provides new single post layout.
layouts/blog/baseof.html Deleted – legacy blog base template removed.
layouts/_default/baseof.html Deleted – legacy default base template removed.
config.toml Updated – theme changed to leela, removed old props.
content/play/configuration/**/*.md Added summary front matter to key content files.
assets/scss/** Deleted – removed legacy SCSS components.
assets/js/scripts.js Deleted – removed legacy JS.
Comments suppressed due to low confidence (3)

layouts/blog/section.html:3

  • [nitpick] The CSS class here is title, but in page.html you use blog-title. For consistent styling and maintainability, unify these class names (e.g. both blog-title or both title).
<h1 class="title">{{ .Title }}</h1>

layouts/blog/section.html:1

  • There’s no baseof.html in layouts/blog/ or fallback in _default/. Without a base template to wrap these blocks, Hugo won’t render the layouts correctly. Please ensure you add a new baseof.html or reference an existing one.
{{ define "body_classes" }}blog-index{{ end }}

layouts/blog/page.html:8

  • [nitpick] The draft-banner markup is duplicated between page.html and section.html. Consider extracting it into a partial (e.g. partials/draft-banner.html) to reduce duplication and simplify future updates.
{{if .Draft}}

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

Copy link
Member

@borg323 borg323 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly OK, and we can fix any small issues separately.

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@github-actions
Copy link

github-actions bot commented Jun 8, 2025

🚀 Draft Preview: http://pr130.drafts.lczero.org/

@mooskagh mooskagh merged commit c06232d into LeelaChessZero:master Jun 8, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants