Logseq Hugo Template screenshot

Logseq Hugo Template

Author Avatar Theme by Charliie dev
Updated: 30 Sep 2024
91 Stars

This is a HUGO website template for Logseq users who wants their published posts to look more like a personal website, using GitHub Pages to host the website and logseq-schrodinger to export your Logseq pages.

Overview

This product is a HUGO website template for Logseq users who want their published posts to look more like a personal website. It uses GitHub Pages to host the website and logseq-schrodinger to export Logseq pages. The template allows users to write their posts/contents in Markdown within HUGO and host them directly from their GitHub repository.

Features

  • HUGO website template for Logseq users
  • Uses GitHub Pages for hosting
  • logseq-schrodinger for exporting Logseq pages
  • Markdown support for writing posts/contents
  • Free hosting through GitHub Pages
  • Ability to customize theme
  • Support for Google Analytics 4
  • Integration with Google Search Console and sitemap
  • Prebuilt themes available
  • Basic Markdown styling and image support

Installation

To install the Logseq-Hugo-Template, follow these steps:

  1. Fork the template repository by clicking the green “Use this template” button.
  2. Rename the forked repository to {your-GitHub-username}.github.io, e.g. GitHubUser.github.io.
  3. Clone the repository to your local machine.
  4. Configure the config.yml file according to your preferences.
  5. Export your Logseq pages to the content/pages directory using logseq-schrodinger.
  6. Push the changes to the repository.
  7. Go to “Settings” > “Pages” > “Source” and choose the “gh-pages” branch.
  8. Wait a few minutes for GitHub to deploy the website.
  9. Access your website at https://{username}.github.io, e.g. https://githubuser.github.io/.

Please note that there are some modifications that need to be made in the config.yml file and the content/pages and content/assets directories. Additionally, to set up Google Analytics 4 and Google Search Console, specific steps need to be followed as mentioned in the documentation.

Summary

The Logseq-Hugo-Template is a HUGO website template designed for Logseq users who want to create a personal website with the appearance of their published Logseq posts. It utilizes GitHub Pages for free hosting and logseq-schrodinger for exporting Logseq pages. The template provides the flexibility of Markdown for writing posts and allows users to customize the theme. It also offers support for integrating Google Analytics 4, Google Search Console, and generating a sitemap.