GithubHelp home page GithubHelp logo

zachleat / zachleat.com Goto Github PK

View Code? Open in Web Editor NEW
179.0 12.0 32.0 336.42 MB

zachleat.com is powered by Eleventy and WebC.

Home Page: http://www.zachleat.com/

JavaScript 91.87% CSS 3.02% HTML 4.03% Liquid 0.51% Shell 0.01% SCSS 0.55% Nunjucks 0.01%

zachleat.com's Introduction

Local Development Setup

Prerequisites: Node 12+

  1. npm install

Local Development Workflow

  1. npm start
  2. Open http://localhost:8080/

To install new local npm packages, use npm install PACKAGE_NAME --save-dev

Important Environment Variables

  • WEBMENTION_IO_TOKEN
  • GOOGLE_AUTH_CLIENT_EMAIL (for popular posts from Google Analytics)
  • GOOGLE_AUTH_PRIVATE_KEY (for popular posts from Google Analytics)

Notes

Migration outstanding items

  1. /history/volc/
  2. All the PHP things from zachleat.com-build-extras

zachleat.com's People

Contributors

jakxz avatar jankollars avatar jeremiak avatar joemorgan avatar kylemit avatar mathiasbynens avatar maxboeck avatar nhoizey avatar odinho avatar redrambles avatar tannerdolby avatar zachleat 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

zachleat.com's Issues

Multi-line code blocks don't have any content

@zachleat I referred back to an article on Add Lighthouse to footer and noticed all of the multi-line code blocks that are highlighted with Prism don't have any content within the <code> tags even though they indeed have content inside Markdown.

I suspect something with {% highlight %} is for some reason ignoring the text inside and not displaying any content within the <code> tags. Here is an example on Line 36.

{% highlight bash %}npm install @11ty/eleventy-cache-assets --save-dev{% endhighlight %}

Screenshot of empty code block

Screen Shot 2020-11-26 at 11 12 49 PM

This issue is happening for all posts on your website at the current time (11:05pm PST). Just wanted to let you know!

Sidebar social icons FOUC

During most page views, I see the social icons flash with a large size and high vibrancy. After a split second or so, they shrink and the content below it pulls up along with it (the tag navigation).

Example:

export

Feature: Modify .htaccess to USE SED to modify the _site version to add custom 301, 410, et al

1.Vanilla MD with permalink into _site
2. Comment headers for various places to inject personal stuff.
3. a shell script containing:

#!/bin/bash
# Ask the user for new custom htaccess line
echo Section to ammend?
read append
echo Command to append?
read line
sed '/$append/a $line' ~/_site/.htaccess

I'm sure someone else might be able to construct the bash command to read a file to append multiple lines when section matches. This makes your repo better suited for a template; removes custom redirects, etc.
Source: https://ryanstutorials.net/bash-scripting-tutorial/bash-input.php

grunt-contrib-sass upgrade issues

Had to rename .css files to .scss (still missing I live in Omaha css file) for use with @import. Is there a better solution here? Alternatively just move to use grunt-contrib-concat and do it after sass. I think I like this option better.

Title text has little hangies

Reported by @robhruska

Also, the title font on your blog text looks a little funky, the letters have some weird hangies and horns (image attached). (Chrome: Version 26.0.1410.64 m)

zachleat

Wrong target value on Webmention input form generated

Hej,
trying to figure out why a webmention didn't make it so I decided to post ist manually using the Webmention input form from your site:

image

<input type="hidden" name="target" value="https://www.zachleat.com/web/web/own-your-content/">

This results in form data with a doubled /web in path and can never be found on the source url resulting in a rejection of the Webmention by your endpoint.

Example result:

source: https://beko.famkos.net/2020/01/06/fun-introductions-to-indieweb/
target: https://www.zachleat.com/web/web/own-your-content/

When I fixed the target manually it went into processing (may still not make it - problems with ActivityPub plugin providing JSON instead on my site are known).

Bad URL

Hi, Zach. While reading through 11ty-lighthouse, I encountered an anchor element with broken linkage (404) inside Step 2 Fetch The Data.

The problematic link is the second anchor element with href="https://github.com/11ty/11ty-website/blob/master/_data/speedlify.js" and value "Eleventy data request to fetch and cache the API data at build time".

Currently the bad URL opens this page which shows a 404 error page on Github, where speedlify.js is the unavailable file.

I tried to track down the correct reference for the speedlify instance and arrived at two possible URLs.

I was going to submit a PR fixing the broken URL by using one of the two links above, but I thought I'd let you know first as I wasn't sure which link you wanted to use. Thanks! @zachleat

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.