Giter VIP home page Giter VIP logo

hugo-theme-ladder's Introduction

Hugo Theme Ladder | Demo

🌈 Clean | ⏩ Fast | 📰 Focus on Reading | 🌐 Multi language | 🌙 Multi Dark Theme | 📱 Mobile support

English README | 简体中文说明

The Demo | ExampleSite includes a lot of documentation about Installation, Features with a few more stuff. Make sure you visit it, to get an awesome hands-on experience and get to know about the features ...

Demo is built up with exampleSite Source Code (https://github.com/guangzhengli/hugo-ladder-exampleSite) as source.

Hugo VersionGitHub licenseGitHub starsGitHub forks


Ladder image


Documentations docs

See docs folder.

Basic Usage

Extra Guides

Quick Start

Use this command to start.

hugo server -s exampleSite --themesDir=../.. --disableFastRender

Or click Use this template to create your blog site in the exampleSite Repository.

Create a new repository(GitHub Pages) from hugo-ladder-exampleSite to enter : username.github.io.

replace the username by your GitHub account

Then configure the GitHub page setting following:

nsrExo

🎉🎉🎉 Open the browser and enter: https://username.github.io 🎉🎉🎉

Minimal Configuration

Clone your repository.

Build and run hugo server by hugo server -D and open in browser http://localhost:1313/.

baseURL: 'https://hugo-ladder.pages.dev' # set https://username.github.io
homepage: 'https://hugo-ladder.pages.dev' # set https://username.github.io
defaultContentLanguage: 'en' #default language
params:
  brand: HOME # set the brand of your site
  avatarURL: /images/avatar.png # avatar, replace your avatar in the /static/images/
  author: Hugo Ladder # name
  authorDescription: # description
  info:  this is a info # information of your blog site
  favicon: /images/avatar.png # blog site icon,replace your avatar in the /static/images/
  options:
    showDarkMode: true # is show dark mode button
    enableMultiLang: true # is show multi language button

Modifying the default configuration. Then push it to your repository.

ALL Configuration

Following this article to cofiguration.

Following this article to configure the umami analytics

Sponsor

if you like this theme, you can sponsor me to buy a cup of coffee. https://guangzhengli.com/sponsors

Special Thanks

hugo-theme-ladder's People

Contributors

gandli avatar guangzhengli avatar jcaiqueoliveira avatar sashasimkin avatar terenceliu98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hugo-theme-ladder's Issues

Flash in dark mode

Refresh the page or open a new blog when this theme opens dark mode, it will flash.

giscus不加载

这是什么情况啊,求助大佬们!
具体情况见下图
image
image
image

以下是我的配置文件

baseURL: 'https://lizilong.netlify.app'
title: LONG
theme: hugo-theme-ladder
license: 'CC BY-NC-SA 4.0'
licenselink: 'https://creativecommons.org/licenses/by-nc-sa/4.0/'
description: ''
homepage: 'https://lizilong.netlify.app'
defaultContentLanguage: 'zh'
googleAnalytics: 
paginate: 10
hasCJKLanguage: true
copyright: "2023 Zilong Li All rights reserved"
Author:
  name: "Zilong Li"
  email: "[email protected]"
params:
  brand: LONG
  avatarURL: 
  author: 
  authorDescription: 
  info: 
  favicon: /favicon.png
  options:
    showDarkMode: true
    enableImgZooming: true
    enableMultiLang: false
    showMetaTags: true
  darkModeTheme: data-dark-mode
  comments:
    giscus:
      enable: true
      repo: lizilong1993/gittalk
      repo_id: R_kgDOIs1HJA
      category: Announcements
      category_id: DIC_kwDOIs1HJM4CTc66
      mapping: url
      position: top
      lang: zh-CN # pick a language from https://github.com/giscus/giscus/tree/main/locales
    utteranc:
      enable: false
      repo: 
      issueTerm: 
  analytics:
    google:
      SiteVerificationTag: L0LF30NYW5
    umami:
      enable: false
      website_id: 2320eaa6-a90b-471c-b6ca-e79dadde8c4c
      url: https://umami-ochre-nu.vercel.app/hugo-ladder.js
  social:
    - name: GitHub
      pre: >-
        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
      url: 'https://github.com/lizilong1993'
    - name: Email
      pre: >-
        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>      
      url: 'emailto:[email protected]'
languages: # 如果你启用多语言,下面是中文展示
  zh:
     menu:
      main:
        - name: 文章
          url: /archives
          weight: 1
        - name: 标签
          url: /tags
          weight: 2
        - name: 导航
          url: https://lizilong.netlify.app/nav
          weight: 3
taxonomies:
  series: series
  tag: tags

网站首次打开耗时较久,字体阻塞页面渲染

感谢您开源这么好看的主题,但我在使用时发现首次访问会有长时间的空白页,通过chrome的lighthouse检查,发现是字体文件阻塞了页面渲染。本人不熟悉前端技术,想请问一下这里字体文件的加载能否优化一下呢?期待您的回复。
lighthouse检查结果如下:
image

Change font-family

Hey, thanks a lot for you theme. I'd like to know what should I do to change the base font-family?

怎么删除

layouts/partials/blog/meta.html

<p>
  <small>
    {{ .Date | time.Format ":date_long" }}&nbsp;· {{ i18n "word_count" .WordCount -}}&nbsp;· {{ i18n "reading_time" .ReadingTime -}}
  </small>

  {{ if .Site.Params.options.showMetaTags -}}
    <small>
      {{ with .GetTerms "tags"}}
      ·
      {{ end }}
      {{ range (.GetTerms "tags") }}
      <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
      {{ end }}
    </small>
  {{ end }}
  <p>  ---------------->这里少一个斜杠 </p>  

请问还继续更新嘛?

想问一下大佬还继续更新新功能嘛?例如:doc search, rich content support, plugins support等等

add toggle and tab shortcodes support

add toggle shortcodes support, then user can hide or show something.

add tab group short codes support, then user can write in different case.

remove bilibili short codes support default.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.