Coder Social home page Coder Social logo

savjee / savjee.be Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 27.0 262.32 MB

Source code of my Eleventy-powered website

Home Page: https://savjee.be

HTML 40.82% CSS 23.47% JavaScript 22.29% Liquid 4.47% TypeScript 5.76% Python 3.19%
blog css eleventy html static-site website

savjee.be's People

Contributors

cyclops1982 avatar nvzqz avatar savjee 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

Watchers

 avatar  avatar  avatar  avatar  avatar

savjee.be's Issues

Allow for video details pages to be "unpublished"

Mark a video as "unpublished" so that it doesn't appear on the "Video's" page.
However Jekyll would render it anyway and already make it available if you know the URL.

That way I can publish the page while the video is waiting to go live. When the video goes live, the URL will work instantly and I only have to remove the "unpublished" attribute

Lint: add check for double square brackets

I'm writing everything in Obsidian and migrate files to this repository when they're finished. Occassionally I forget to remove Obsidian's internal link syntax: [[ ... ]]

Add a check to the CI to make sure these are all gone!

Figure out future tech-stack for my website

Related: #7

Will I continue with Jekyll?

  • A full build of my site takes 10 seconds right now.
  • Jekyll 4.0 breaks compatibility with some plugins I use, most importantly the asset pipeline plugin
  • I'm no Ruby developer, so writing plugins myself is tricky.

Add support for dark mode

  • Tables
  • Code blocks
  • Header
  • Video page
  • Video series rollout indicator (-> maybe just remove this one altogether?)

Migrate to Nunjucks

Top level:

  • index.html
  • courses.html
  • posts.html
  • videos.html
  • video_series_subpage.liquid

_includes/components

  • bookmark_box
  • disqus-comments
  • footer
  • navbar
  • newsletter-box
  • share-buttons

_includes/layouts

  • course.html
  • default.html
  • page.html
  • post.html
  • video.html

Others:

  • video-series-overview.html
  • youtube-embed.html

Ability to update posts

Right now, I can update posts, but that isn't reflected anywhere.

Solution:

  • Upgrade to Elevent 2.0 once it's final
  • Use git to figure out when a post was written, and last updated

Todo:

  • Upgrade to Eleventy 2.0
  • Show "Last modified" date at the bottom of each post (if it's not the same as publication date)
  • Update the rich snippet accordingly, so Google knows the post was updated.

Offer images as webp and avif

  • Blog post images
  • Blog posts overview page (thumbnails)
  • Every other page with images (make a helper function for that!)

CI: Deploy to Cloudflare Pages from Github Actions

Allows me to have 1 CI pipeline and only deploy the site when all checks have passed.
Now, Cloudflare Pages doesn't run any checks

  • Merge in master
  • Disable automatic deployment of master branch on Cloudflare Pages

Serve YouTube thumbnails from own domain

  • Cache YouTube thumbnails on Cloudflare R2 using a Worker
  • Increase cache times (a complaint from Lighthouse)

Bonus: generate different sizes for the thumbnail (on the fly?) and add them to a element to improve performance on mobile.

Add static YouTube video player (privacy)

Only show YouTube thumbnail with a play button. If clicked, the actual YouTube embed code is loaded in.

This to protect user privacy (and increase the page load times)

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.