Giter Club home page Giter Club logo

11ty's Introduction

bayton.org, powered by eleventy

Netlify Status

The 6th major iteration of the BAYTON design. This latest theme is all about white space, openness, and simplicity. Tying in a new brand identity at the same time. A lot of style is pulled over from v5 (never made it out of beta) but without all of the bloat.

This site automatically builds to netlify on commit, and can be accessed publicly here - https://bayton.org/

Or build locally:

  1. Pull this repo locally
  2. Run npm install to get things set up
  3. Run npx @11ty/eleventy to build the site to _public, or npx @11ty/eleventy --serve to spin up a local dev server.

11ty's People

Contributors

jasonbayton avatar github-actions[bot] avatar gabysantosw avatar drewdan avatar dependabot[bot] avatar gusberti-pulsus avatar

Stargazers

abbas ali chezgi avatar bdtbd avatar

Watchers

 avatar

11ty's Issues

Redis - Add a hint that the redis socket file in /etc/redis/redis.conf might be different

It is easily to be overlooked by the reader that the commented line on unix systems might be looking like this:

#unixsocket /var/run/redis/redis-server.sock

instead of this as stated in the article:

unixsocket /var/run/redis/redis.sock

so when the reader just removes the comment and later adds /var/run/redis/redis.sock to his nextcloud config file, he will encounter a serious bug.

Finish WP

_src/android/what-is-android-work-profile.md

[Improvement] Display related articles if search fails to find exact match

Describe the bug
When searching for articles, if the exact term is not given in the URL, search tends to fail and display a 404.
This behaviour can be changed to display a list of related articles instead

Expected behavior
Display a list of related articles if there are no exact matching patterns present on the URL

Search doesn't work

Implement lunr.

Implement a search area that expands from the ๐Ÿ” or opens a modal with results

Or suggest alternatives

Time to read plugin defaults to 1 min everywhere

11ty/.eleventy.js

Lines 12 to 24 in e33eed7

eleventyConfig.addPlugin(timeToRead, {
speed: '1000 characters per minute',
language: 'en',
style: 'long',
type: 'unit',
hours: 'auto',
minutes: true,
seconds: false,
digits: 1,
output: function(data) {
return data.timing;
}
});

It worked early on, but seems to have failed. Perhaps a formatting issue, or typo.

[Content request]

**Replace me with a content suggestion or request**

If content is missing from a page on the website, you may opt to edit the page yourself, and submit a pull request. If you're seeking new/missed content to be amended by Jason, please outline as below - 

1. Objective, question, or title
2. Content to be explained
3. Context for the request (describe what you're struggling with and how)
4. Pages affected if this is to add to an existing page (eg: Android FAQ)

Create the archive page

this should allow for

  • blog archive (everything)
  • year archive (2021)
  • month archive (2021 02)
  • category archive (enterprise)

Build fails if a page doesn't have the tags frontmatter

{% if type.includes("documentation") %}

On pages where a tag frontmatter isn't present, it results in the following error:

Having trouble writing template: "_public/docs/nextcloud/connecting-to-nextcloud-via-webdav-windows-cannot-access/index.html" (via EleventyTemplateError)
[11ty] 2. (./_src/_includes/base.njk) [Line 72, Column 48]
[11ty]   Error: Unable to call `tags["includes"]`, which is undefined or falsey (via Template render error)
[11ty] 
[11ty] Original error stack trace: Template render error: (./_src/_includes/base.njk) [Line 72, Column 48]
[11ty]   Error: Unable to call `tags["includes"]`, which is undefined or falsey

I can set a dir-based tag to nothing to catch this, but I'd rather know how I can do an "if exists" deal instead so the site can't die if there's no front matter present.

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.