Giter Club home page Giter Club logo

notes's Introduction

Setup

  • This GitHub Pages site uses the Reverie theme.
  • This page describes the steps taken to create a clean site using this theme.

Apply Theme

  • Use the Reverie template repo to create a new GitHub repo.
  • Select the "Actions" tab on GitHub to see the pages being built and deployed.
  • When deployed, go to https://username.github.io/notes/ to confirm the site has been built correctly, including its links.

Local Development

  • Prerequisite: Ruby
  • Clone the repo.
  • Install gems:
    • bundle install
  • Build and run the site:
    • bundle exec jekyll serve
  • Confirm the site is built correctly, including its links.

Repo-Specific Items

  • Remove sponsor buttons on the repo.
    • Remove .github/FUNDING.yml.
    • Repo > Settings > General > uncheck "Sponsorships".
  • Update LICENSE.
  • Remove .ruby-version.

Favicon

  • Remove the default favicon images:
    • favicon.ico
    • images/favicon-32x32.png
  • Create your favicons, e.g., using https://favicon.io/favicon-generator/.
  • Put the new favicons into images.
    • Note: If the new favicons include a site.webmanifest file, ensure the file's icon srcs point to the right location and update other details accordingly.
  • Update _layouts/default.html to point to the new favicons.

Title, Header, and Footer

Fonts

  • Select a font from Google Fonts and get the font's embed code.
  • Replace existing font stacks in _sass/_variables.scss with a new font stack that includes the selected font.
    • Switch references to the existing font stack in assets/style.scss to the new font stack.
  • Update font settings in assets/style.scss.
    • Remove redundant (font) import at-rule.
    • Replace existing font-family values with the new font stack.

Redundant and Other Unwanted Elements

  • Remove Carbon Ads and related resources:
    • _posts/2019-02-13-introducing-reverie-jekyll-theme.md
    • assets/style.scss (search for "carbon")
  • Remove Google Analytics tracking code in _config.yml.

RSS Feed and Sitemap

Superficial Changes

Default Pages, Posts, and Other Elements

  • 404 page:
    • Remove image in 404.md.
    • Delete corresponding image.
  • Getting Started page:
  • About page:
    • Delete _pages/about.md.
  • Fonts:
    • Delete fonts/aramisi.ttf.
    • Delete fonts/EBGaramond-Regular.ttf
  • Posts:
    • Delete all posts under _posts.
  • Images:
    • Delete default (unused) images:
      • images/categories.png
      • images/galaxy.jpg
      • images/mobile-demo.png
      • images/reverie-demo.png
      • images/reverie-text.png
      • images/search.png

Categories

New Posts

Enhancements

PlantUML

  • Ability to display PlantUML diagrams on posts, where the diagrams' code is embedded directly in the posts and diagram images are generated on-the-fly.
  • Introduce custom plantuml tags to be used in posts.
  • Add JavaScript code in _includes/plantuml.html.
    • Convert custom plantuml tags into standard HTML figure, img, and figcaption tags.
    • JavaScript code is activated if the plantuml page variable is true on posts' front matter.
    • JavaScript code uses plantuml-encoder's plantuml-encoder.min.js to encode diagram code to be sent to PlantUML's SVG service.
  • Add the JavaScript code in the _layouts/post.html layout: {% include plantuml.html %}
  • Update assets/style.scss to style the image caption: img + figcaption

notes's People

Contributors

jashburn8020 avatar

Watchers

 avatar

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.