Volver al ranking

reuixiy/hugo-theme-meme

HTMLio-oi.me/hugo-theme-meme

😝 You can’t spell awesome without MemE!

hugohugo-themehugo-theme-memepwajson-ld
Crecimiento de estrellas
Estrellas
1.1k
Forks
286
Crecimiento semanal
Issues
68
5001k
ago 2019nov 2021mar 2024jul 2026
README

English | 简体中文 | 繁體中文

MemE

Description

MemE is a powerful and highly customizable GoHugo theme for personal blogs, which focuses on elegance, simplicity, modernity, and best practices in coding.

Preview

tn.png

Browser support

MemE uses CSS variables and let statements extensively. These features are supported by the following browsers:

  • Chrome 49+
  • Firefox 44+
  • Edge 15+
  • Opera 36+
  • Safari 10+

Internet Explorer does not support CSS variables.

Quick Start

https://gohugo.io/getting-started/quick-start/

Install Hugo (extended version)

For Arch Linux users:

~ $ sudo pacman -S hugo
~ $ hugo new site blog

For users of other systems, see: https://gohugo.io/getting-started/installing/

Install MemE

~ $ cd blog
~/blog $ git init
~/blog $ git submodule add --depth 1 https://github.com/reuixiy/hugo-theme-meme.git themes/meme

Blogging

  1. Replace hugo.toml with config examples.

    ~/blog $ rm hugo.toml && cp themes/meme/config-examples/en/config.toml config.toml
    
  2. Create a new post and the about page:

    ~/blog $ hugo new "posts/hello-world.md"
    ~/blog $ hugo new "about/_index.md"
    
  3. Now:

    ~/blog $ hugo server -D
    

Customize MemE

MemE uses SCSS via Hugo Pipes to generate CSS instead of static CSS file and provides a _custom.scss for customization.

Just create a ~/blog/assets/scss/custom/_custom.scss and add your own styles into this file. Your _custom.scss will override ~/blog/themes/meme/assets/scss/custom/_custom.scss and your custom CSS will be applied correctly.

Actually, you can override any template of theme in Hugo, see this unofficial mirror page: https://gohugobrasil.netlify.com/themes/customizing/

Update MemE

~/blog $ git submodule update --rebase --remote
# or
~/blog $ cd themes/meme && git pull

If failed, try:

  1. Delete meme folder, e.g.

    ~/blog $ rm -rf themes/meme
    
  2. Clone MemE again

    ~/blog $ git clone --depth 1 https://github.com/reuixiy/hugo-theme-meme.git themes/meme
    

Note that MemE makes some brand new features or breaking changes sometimes, so please be sure to check the modification history of config.toml and update the related items after the update!

Awesome MemE

See #2.

Supported Front Matter

Click to expand!
Name Description Notes
title * string
linkTitle * string
subtitle displayed below the title string, Markdown supported
date * string
lastmod * string
publishDate * string
expiryDate * string
<taxonomies> eg: categories, tags, series * array
description * string, Markdown supported
summary * string, Markdown supported
images * array
slug * string
url * string
draft * boolean
isCJKLanguage * boolean
weight * integer
type * string, if equal to "poetry", will use a special layout for it
layout * string
outputs * array
aliases * array
markup * string
hideInHomepage hide this post in homepage posts list boolean, valid for "posts" homepage with enableHideInHomepage enabled
languageCode add lang attribute with this value to <article> string
meta set false to disable post-meta boolean, override enablePostMeta in config.toml
displayPublishedDate display published date in post-meta boolean, override displayPublishedDate in config.toml
displayModifiedDate display modified date in post-meta boolean, override displayModifiedDate in config.toml
displayExpiryDate display expiry date in post-meta boolean, override displayExpiryDate in config.toml
displayCategory display category in post-meta boolean, override displayCategory in config.toml
displayWordCount display word count in post-meta boolean, override displayWordCount in config.toml
displayReadingTime display reading time in post-meta boolean, override displayReadingTime in config.toml
displayBusuanziPagePV display page views in post-meta boolean, override displayBusuanziPagePV in config.toml
toc display TOC boolean, override enableTOC in config.toml
tocNum display TOC number boolean, override displayTOCNum in config.toml
anchor enable headings anchor boolean, override enableHeadingsAnchor in config.toml
displayCopyright display post-copyright boolean, override displayPostCopyright in config.toml
badge display updated-badge boolean, override displayUpdatedBadge in config.toml
gitinfo display post-gitinfo boolean, override displayPostGitInfo in config.toml
share display post-share boolean, override displayPostShare in config.toml
related display related-posts boolean, override displayRelatedPosts in config.toml
katex add KaTeX support boolean, override enableKaTeX in config.toml
mathjax add MathJax support boolean, override enableMathJax in config.toml
mermaid add Mermaid support boolean, override enableMermaid in config.toml
comments set false to disable comments in mainSections or set true to enable comments in non-mainSections boolean
smallCaps small caps? boolean, override enableSmallCaps in config.toml
dropCap drop cap? boolean, override enableDropCap in config.toml
dropCapAfterHr drop cap after every horizontal rule tag? boolean, override enableDropCapAfterHr in config.toml
deleteHrBeforeDropCap delete horizontal rule tag before drop cap? boolean, override deleteHrBeforeDropCap in config.toml
indent indent instead of margin? boolean, override paragraphStyle in config.toml
indentFirstParagraph indent the first paragraph? boolean, override indentFirstParagraph in config.toml
align normal, justify, center string, if equal to "normal", will override enableJustify in config.toml
original original? You can add the following 8 terms if you set false. The author is required, other optional boolean, override original in config.toml
author author of original post string
link link of original post string, URL
copyright license of the post string, Markdown supported
website author’s website string
email author’s email string
motto author’s description string
avatar author’s avatar string, URL
twitter author’s twitter id string
fediverse author’s fediverse id string
disqus_url * string, if not set, will use Permalink as default
disqus_identifier * string, if not set, will use RelPermalink as default
disqus_title * string, if not set, will use Title as default

*: see https://gohugo.io/content-management/front-matter/ and https://gohugo.io/templates/internal/#configure-disqus

Sponsorship

We are grateful to the following sponsors for their support:

GitHub Sponsors

Powered by DartNode

*: Some of these links are affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support me to spend more time developing MemE. Thank you for the support!

Repositorios relacionados
gohugoio/hugo

The world’s fastest framework for building websites.

GoGo ModulesApache License 2.0gohugo
gohugo.io
89k8.3k
adityatelange/hugo-PaperMod

A fast, clean, responsive Hugo theme.

HTMLMIT Licensefastclean
adityatelange.github.io/hugo-PaperMod/
13.8k3.4k
HugoBlox/kit

🧱 Describe your site, AI builds it, you own it as Markdown. Snap together Tailwind blocks like Lego — landing pages, blogs, portfolios, docs & more. No AI slop. Free to deploy anywhere 👇

HTMLMIT Licensehugoacademic
hugoblox.com
9.6k2.9k
themesberg/flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS

HTMLMIT Licensecsshtml
flowbite.com
9.3k872
HugoBlox/hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!

HTMLMIT Licensehugoacademic
hugoblox.com/templates/
8.5k2.9k
CaiJimmy/hugo-theme-stack

Card-style Hugo theme designed for bloggers

HTMLGNU General Public License v3.0hugo-themehugo
stack.cai.im
6.4k2k
peaceiris/actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.

TypeScriptnpmMIT Licensegithub-actionsgithub-pages
github.com/marketplace/actions/github-pages-action
5.3k451
HugoBlox/hugo-theme-academic-cv

🎓 Academic portfolio that boosts citations. AI generates pages, you own as Markdown. BibTeX auto-import, Jupyter, LaTeX, slides, visual block editor — free to host forever. 学术主页,AI 生成,Markdown 拥有 👇

Jupyter NotebookMIT Licensehugowebsite-generation
hugoblox.com/templates/academic-cv
5k6.5k
HugoBlox/theme-academic-cv

🎓 无需编写任何代码即可轻松创建漂亮的学术网站 Easily create a beautiful academic résumé or educational website using Hugo and GitHub. No code.

TeXMIT Licensehugowebsite-generation
hugoblox.com/templates/
4.2k6.4k
alex-shpak/hugo-book

Hugo documentation theme as simple as plain book

HTMLMIT Licensehugohugo-theme
book.alxs.dev
4.1k1.3k
dillonzq/LoveIt

❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题

JavaScriptnpmMIT Licensehugohugo-theme
hugoloveit.com
3.9k1.2k
hunvreus/pagescms

The simplest CMS you'll ever need. Manage content and media right in your GitHub repository.

TypeScriptnpmMIT License11tyastro
pagescms.org
3.9k509