GithubHelp home page GithubHelp logo

liuning0820 / liuning0820.github.io Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 12.89 MB

"对刘谈心" 微信公众号素材,个人博客(blog),文档即代码(document as code)。

Home Page: https://liuning0820.github.io/

HTML 8.73% CSS 1.80% Ruby 0.07% JavaScript 72.63% SCSS 16.48% Dockerfile 0.24% Shell 0.05%
github-page jekyll blog github-pages githubpage indieweb

liuning0820.github.io's Introduction

Personal Blog

Build Status

Run The Site Locally

gem install jekyll bundler
# Run 'bundle install' to install missing gems added in the Gemfile.
bundle install
jekyll -v
# jekyll serve
bundle exec jekyll serve

Then browse to http://localhost:4000

Run The Site In Docker

Refer https://medium.com/windmill-engineering/how-i-built-a-simple-static-jekyll-site-without-installing-ruby-a-rant-b7e87fb123d0

docker build -t my-jekyll-env -f Dockerfile .
docker run --name my-jekyll-env --mount type=bind,source=$(pwd),target=/src -p 4000:4000 -it my-jekyll-env

Run with docker-compose

docker compose build
docker compose up

navigate to 127.0.0.1:4000

Hosted By GitHub Pages

Hosted at https://liuning0820.github.io/

Hosted by Netlify

Netlify is a cloud computing company that offers hosting and serverless backend services for static websites. It features continuous deployment from Git across a global application delivery network, serverless form handling, support for AWS Lambda functions, and full integration with Let's Encrypt.

The site dashboard can be accessed Site Dashboard

Deployed at https://liuning0820.netlify.com/

Supporting Technologies

  • Jekyll
  • Jekyll Themes
  • HTML Proofer - Validates HTML links, used in the CI/CD pipeline. Installed as a Ruby gem.
  • HTML Proofer Usage
  • Markdown Spellcheck - Runs spell check in the CI/CD pipeline. Installed via Node.js npm.
  • Github Page
  • HTML Presentations - reveal.js
  • Search Feature - lunr.js

Jekyll Collection

Implement Jekyll Collections

The collection should start with a underscore.

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

jekyll-sitemap

silently generate a sitemap.xml for your jekyll site.

https://liuning0820.github.io/sitemap.xml

GitHub Page Support

Having trouble with Pages? Check out the documentation and it will help you sort it out.

HTML Presentations - reveal.js

PDF Export

ex. http://localhost:4000/ex_presentations/2021-05_a_clean_dev_env/?print-pdf#/ ex. https://liuning0820.github.io/ex_presentations/2021-05_a_clean_dev_env/?print-pdf#/

SEO

Sitemaps

The Sitemaps protocol allows a webmaster to inform search engines about URLs on a website that are available for crawling. refer

robots.txt

robots.txt可以告诉搜索引擎您网站的哪些页面可以被抓取,哪些页面不可以被抓取。

User-agent: *
Disallow: /

Google Analytics 数据增长

统计你的网站的访问量等相关数据。

Google Analytics

Bing 网站管理员

https://www.bing.com/webmaster/home/dashboard

References

同类型博客

liuning0820.github.io's People

Contributors

dependabot[bot] avatar liuning0820 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mj5219054

liuning0820.github.io's Issues

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.