GithubHelp home page GithubHelp logo

tempertemper / www.tempertemper.net Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 6.0 22.44 MB

A blog about web design, front-end web development and other stuff, built with Eleventy.

Home Page: https://www.tempertemper.net

JavaScript 10.80% HTML 36.90% Handlebars 22.31% SCSS 29.99%
accessibility apple design development frontend html web

www.tempertemper.net's People

Contributors

dependabot[bot] avatar graemetait avatar tempertemper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

www.tempertemper.net's Issues

Refine CSS

There’s a lot of unused CSS that should be removed.

Make Github repo public

This means I need to redact passwords and other api credentials from the Perch config file from the repo’s history: /web/cms/config/config.php

This should be done with the BFG Repo-Cleaner using the --replace-text command.

Perch core (/web/cms/core/) will also have to be removed with the --delete-folders command.

Amend feed URLs

Change feed URLs from

  • /feeds/blog/feed.xml
  • /feeds/blog/feed.json

to

  • /feeds/blog.xml
  • /feeds/blog.json

This leaves room for things like

  • /feeds/main.xml
  • /feeds/main.json

and ‘vlog’, ‘podcast’ or whatever else is needed.

Handlebars with markdown-it isn't playing nicely

First of all, can I use markdown-it to parse the markdown in my component config and kick it out in the component? Or am I misunderstanding the purpose of the library?

Second, If I am able to use it, how the F do I do it!? I've registered it in the fractal.js file (line 17), though possibly (probably) incorrectly.

An example of a component that uses it is the paragraph that can be found in /src/patterns/base/typography/07-paragraph/

I've tried calling it with a block, like this:

{{#markdown }}{{{ content }}}{{/markdown }}

and also with {{ markdown content }}.

The latter breaks things. The former doesn't break but nothing renders.

Accessibility fix for listings

Fix accessiblity for blog, resource and testimonial listings.

  1. Use the reversed attribute on the <ol> so that it’s clear that the first in the list wasn’t the first that was added
  2. Use Scott O’Hara’s method of fixing lists with list-style: none

Link underlines on headings look bad on Chrome

There’s a new part of the CSS spec called text-decoration-thickness that covers this. Unfortunately it has only been implemented in Safari.

Jen Simmons did a CodePen to demo it. Basically text-decoration-thickness: 0.06em; is a standard underline and will scale correctly when Chrome implements this feature.

Make images use the left and right margins

Images should use the left and right margins/gutters, instead of being flush with the text.

Here's how images look:

Screenshot 2019-11-18 at 11 28 55

Here's how codeblocks look, to demo how images should be laid out:

Screenshot 2020-06-21 at 15 02 27

Re-add pattern library

Fractal was removed with v5.0 of the site and should be added back in. It was build with handlebars for simplicity but the new build should use nunjucks, to mirror the templating on the website itself.

This is a bit of a tricky one, though, as the current version (1.1.7) of Fractal has 10 vulnerabilities.

This should take advantage of Netlify's monorepo deployment feature.

Mark posts in categories with their type (article, resource, etc.)

Currently, when viewing a category you don’t know whether an item is an article or a resource. This isn’t too big an issue just now, but when videos (and possible other item types like podcasts, etc.) are added it would be good to know what type of thing each item is.

Add git commands to bump command

Stuff like release branch creation git branch release/… and tagging commands (git tag …) to bump tasks with npm scripts.

Might be worth moving bump tasks out of Gulp and into to npm via npm-version.

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.