Skip to content
View Mriew's full-sized avatar

Block or report Mriew

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
Mriew/README.md

ไธญๆ–‡ | English

Hugo NexT theme starter

It's usefully for people who are first time notice Hugo framework and want to create himself blog site. Following steps as below and good luck for you! ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

Note Before that make sure your PC were installed Git and Hugo software.

Deploy on Vercel

Now you can deployment your site on Vercel paltform by this button: Deploy with Vercel

โž• Create Github repository

Please login Vercel with your Github account, then enter your repsitory name and click Create, also need enter latest Hugo version at HUGO_VERSION parameter, after those action then deploy it.

deploy-with-vercel-01.png

๐Ÿ— Change Framework

Because Vercel doesn't defined the framework the site not work at first time, you need change it to Hugo and save change.

deploy-with-vercel-02.png

๐Ÿšง Redeployment

Switch to Deployment tag page, refer to the following snapshot for operation, after a while the site will visit success.

deploy-with-vercel-03.png

โฌ Clone Theme

Click the green button which name call Use this template and upper right corner on the page. Full information such as below image:

Use Template

After do that click the green button which name call Create repository from template, then will create your site code automatic, and clone it on your PC environment.

Remember that need use git submodule command to pull all things from hugo-theme-next at first time.

# First time
git submodule update --init --recursive
# Next time
git submodule update --remote --merge

Note When you are in China, recommend to use Gitee repository url replace the submodule url in .gitmodules file content and then execute the above Git command line to improve the speed.

๐Ÿ’ป Local Preview

Execute the startup.sh boot start script file which is under site root directory, when see some words like stop that mean success, and open browser visit http://localhost:1414/ will enjoy yourself.

$ sh startup.sh
========================================
  โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
  โ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•
  โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ•šโ–ˆโ–ˆโ–ˆโ•”โ•    โ–ˆโ–ˆโ•‘
  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•   โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•‘
  โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘
  โ•šโ•โ•  โ•šโ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•   โ•šโ•โ•
========================================
Hugo NexT version 4.3.1
Documentation: https://hugo-next.eu.org
========================================
Start building sites โ€ฆ
hugo v0.102.3-b76146b129d7caa52417f8e914fc5b9271bf56fc+extended windows/amd64 BuildDate=2022-09-01T10:16:19Z VendorInfo=gohugoio

                   | ZH-CN
-------------------+--------
  Pages            |    71
  Paginator pages  |     0
  Non-page files   |     0
  Static files     |    43
  Processed images |     0
  Aliases          |    26
  Sitemaps         |     1
  Cleaned          |     0

Built in 233 ms
Watching for changes in C:\xxx\hugo-theme-next-starter\{content,data,themes}
Watching for config changes in C:\xxx\hugo-theme-next-starter\config\_default
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1414/ (bind address 127.0.0.1)
Press Ctrl+C to stop

๐ŸŽจ Snapshot

Hugo NexT Demo

๐ŸŽ‰ Deployment

Use hugo command to build site's static files, and deploy them into Web server just like Nginx and so on. Or you can enable Github Page function when you commit your local things there will build static files by automatic, more info:Github Pages.

Note Please relpace actual parameter's value in config/_default/params.yaml config file before deploy, such as comment, analytis, share and so on.

๐Ÿ“œ License

MIT License

Copyright (c) 2022, hugo-next teams.

Popular repositories Loading

  1. bingo bingo Public

    Forked from weaigc/bingo

    Bingo๏ผŒไธ€ไธช่ฎฉไฝ ๅ‘ผๅธ้กบ็•… New Bingใ€‚

    TypeScript

  2. PayloadsAllTheThings PayloadsAllTheThings Public

    Forked from swisskyrepo/PayloadsAllTheThings

    A list of useful payloads and bypass for Web Application Security and Pentest/CTF

    Python

  3. poc-cve-2021-4034 poc-cve-2021-4034 Public

    Forked from dzonerzy/poc-cve-2021-4034

    PoC for CVE-2021-4034 dubbed pwnkit

    Go

  4. go-proxy-bingai go-proxy-bingai Public

    HTML

  5. Mriew Mriew Public

    Storage myself blog site codes.

    Shell

  6. monstra_hash_prepare monstra_hash_prepare Public

    Monstra ๅŒๅฑ‚ MD5 ๅŠ ็›ๅฏ†็ ๅ“ˆๅธŒ็”Ÿๆˆ่„šๆœฌ

    Python