diff --git a/README.md b/README.md index 4ee1d6c3ee2..ba371c49b1a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ + +This is a fork of the chirpy jekyll theme. + +to run: +''' +bundle exec jekyll s +''' +
# Chirpy Jekyll Theme diff --git a/_config.yml b/_config.yml index 05044ca30b2..f226043b337 100644 --- a/_config.yml +++ b/_config.yml @@ -14,35 +14,35 @@ timezone: Asia/Shanghai # jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md # ↓ -------------------------- -title: Chirpy # the main title +title: Shoham Jacoby # the main title -tagline: A text-focused Jekyll theme # it will display as the sub-title +tagline: Quantum computing researcher # it will display as the sub-title description: >- # used by seo meta and the atom feed - A minimal, responsive and feature-rich Jekyll theme for technical writing. + Quantum computing researcher focused on quantum error correction and fault-tolerant quantum computing. # Fill in the protocol & hostname for your site. # e.g. 'https://username.github.io', note that it does not end with a '/'. -url: "" +url: "https://shohamjac.github.io" # the base hostname & protocol for your site github: - username: github_username # change to your github username + username: shohamjac # change to your github username twitter: - username: twitter_username # change to your twitter username + username: shohamjacoby # change to your twitter username social: # Change to your full name. # It will be displayed as the default author of the posts and the copyright owner in the Footer - name: your_full_name - email: example@domain.com # change to your email address + name: Shoham Jacoby + email: shohamjac@gmail.com # change to your email address links: # The first element serves as the copyright owner's link - - https://twitter.com/username # change to your twitter homepage - - https://github.com/username # change to your github homepage + - https://twitter.com/shohamjacoby # change to your twitter homepage + - https://github.com/shohamjac # change to your github homepage # Uncomment below to add more social links # - https://www.facebook.com/username - # - https://www.linkedin.com/in/username + - https://www.linkedin.com/in/shoham-jacoby-711a82154/ google_site_verification: # fill in to your verification string @@ -70,10 +70,10 @@ theme_mode: # [light|dark] # will be added to all image (site avatar & posts' images) paths starting with '/' # # e.g. 'https://cdn.com' -img_cdn: "https://chirpy-img.netlify.app" +img_cdn: # the avatar on sidebar, support local or CORS resources -avatar: "/commons/avatar.jpg" +avatar: "/assets/img/me.png" # boolean type, the global switch for TOC in posts. toc: true @@ -109,7 +109,12 @@ assets: pwa: enabled: true # the option for PWA feature -paginate: 10 +plugins: [jekyll-paginate] + + +paginate: 3 + +paginate_path: "/blog/page:num/" # The base URL of your site baseurl: "" @@ -183,6 +188,7 @@ exclude: - LICENSE - rollup.config.js - package*.json + - _tabs/about.md jekyll-archives: enabled: [categories, tags] diff --git a/_data/authors.yml b/_data/authors.yml index f012012135a..1b5eed9d848 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -11,6 +11,11 @@ cotes: twitter: cotes2020 url: https://github.com/cotes2020/ +jacoby: + name: Shoham Jacoby + twitter: shohamjacoby + url: https://shohamjac.github.io/ + sille_bille: name: Dinesh Prasanth Moluguwan Krishnamoorthy twitter: dinesh_MKD diff --git a/_data/locales/en.yml b/_data/locales/en.yml index d7faa44b3b1..714ded05d63 100644 --- a/_data/locales/en.yml +++ b/_data/locales/en.yml @@ -10,11 +10,13 @@ layout: # The tabs of sidebar tabs: # format: : - home: Home + home: About + blog: Blog categories: Categories - tags: Tags + posts: Blog + # tags: Tags archives: Archives - about: About + # about: About # the text displayed in the search bar & search results search: diff --git a/_includes/js-selector.html b/_includes/js-selector.html index 6352c96c7ea..047e6f97b5f 100644 --- a/_includes/js-selector.html +++ b/_includes/js-selector.html @@ -11,10 +11,10 @@ -{% if page.layout == 'post' or page.layout == 'page' or page.layout == 'home' %} +{% if page.layout == 'post' or page.layout == 'page' or page.layout == 'home' or page.layout == 'blog' %} {% assign urls = urls | append: ',' | append: site.data.origin[type]['lazy-polyfill'].js %} - {% unless page.layout == 'home' %} + {% unless page.layout == 'home' or page.layout == 'blog' %} {% assign urls = urls | append: ',' @@ -30,6 +30,7 @@ or page.layout == 'archives' or page.layout == 'category' or page.layout == 'tag' + or page.layout == 'blog' %} {% assign locale = site.lang | split: '-' | first %} @@ -59,6 +60,8 @@ {% case page.layout %} {% when 'home', 'categories', 'post', 'page' %} {% assign js = page.layout %} + {% when 'blog' %} + {% assign js = 'home' %} {% when 'archives', 'category', 'tag' %} {% assign js = 'misc' %} {% else %} diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html index 9d4e6795eb5..ec218ebbb86 100644 --- a/_includes/refactor-content.html +++ b/_includes/refactor-content.html @@ -140,7 +140,7 @@ {% assign _left = _left | append: ' loading="lazy"' %} {% endif %} - {% if page.layout == 'home' %} + {% if page.layout == 'home' or page.layout == 'blog' %} {% assign _wrapper_start = '
' %} diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 99d6dcc12bf..1d905d4973c 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -27,12 +27,23 @@