updates, delete glob package, as not needed, add new built with entry in readme.
This commit is contained in:
parent
abab08e5a9
commit
6bdc48507e
5 changed files with 436 additions and 323 deletions
741
package-lock.json
generated
741
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -38,9 +38,9 @@
|
|||
"dayjs": "^1.11.5",
|
||||
"dotenv": "^16.0.3",
|
||||
"esbuild": "^0.17.0",
|
||||
"glob": "^8.0.3",
|
||||
"html-minifier-terser": "^7.1.0",
|
||||
"lodash": "^4.17.21",
|
||||
"luxon": "^3.3.0",
|
||||
"markdown-it": "^13.0.1",
|
||||
"markdown-it-abbr": "^1.0.4",
|
||||
"markdown-it-anchor": "^8.6.5",
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ https://eleventy-excellent.netlify.app/
|
|||
- Edit your preferences (colors, fluid text sizes etc.) in `src/assets/design-tokens`.
|
||||
- Optional: set your (favicon) icons in `src/assets/images/favicon`.
|
||||
- Optional: rename `.env-sample` to `.env` and set custom URL for local development.
|
||||
- Optional: Change fonts. This starter uses three fonts, Red Hat Display, Inter and Roboto Mono. You can add or delete fonts in `src/assets/fonts`. I recommend creating font subsets for performance, for example using the [Fontsquirrel Webfont Generator](https://www.fontsquirrel.com/tools/webfont-generator). Next, edit `src/assets/css/global/fonts.css`. Add your new font aliases in `src/assets/design-tokens/fonts.json`. Finally, in `src/_layouts/base.njk` edit the font preloads. Roboto mono is only used for code blocks. It's preload is set directly in the post layout: `src/_layouts/post.njk`.
|
||||
- Optional: Change fonts. This starter uses three fonts, Red Hat Display, Inter and Roboto Mono. You can add or delete fonts in `src/assets/fonts`. I recommend creating font subsets for performance, for example using the [Fontsquirrel Webfont Generator](https://www.fontsquirrel.com/tools/webfont-generator). Next, edit `src/assets/css/global/fonts.css`. Add your new font aliases in `src/assets/design-tokens/fonts.json`. Finally, in `src/_layouts/base.njk` edit the font preloads. Roboto Mono is only used for code blocks. It's preload is set directly in the post layout: `src/_layouts/post.njk`.
|
||||
|
||||
## Deploy directly to Netlify
|
||||
|
||||
|
|
@ -95,6 +95,9 @@ npm run build
|
|||
|
||||
## Built with Eleventy Excellent
|
||||
|
||||
I am very proud that the starter is so well received! I have been told that it is very easy to use, even for "beginners"! No compliment could make me happier. Here is a list of sites based on eleventy-excellent, some only slightly modified, others completely transformed.
|
||||
|
||||
- [joewrites.io](https://joewrites.io/)
|
||||
- [flamedfury.com](https://flamedfury.com/)
|
||||
- [deimidis.me](https://deimidis.me/)
|
||||
- [andystitt.com](https://andystitt.com/)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ module.exports = {
|
|||
themeColor: '#DD4462', // Manifest: defines the default theme color for the application
|
||||
themeBgColor: '#F3F3F3', // Manifest: defines a placeholder background color for the application page to display before its stylesheet is loaded
|
||||
meta_data: {
|
||||
opengraph_default: '/assets/images/opengraph-default.jpg',
|
||||
opengraph_default: '/assets/images/opengraph-default.jpg', // fallback/default meta image
|
||||
opengraph_default_alt:
|
||||
'Visible content: Eleventy starter based on workflow for Cube CSS, Every Layout, Design Tokens and Tailwind for uitility, based on the concepts explained in buildexcellentwebsit.es ', // alt text for default meta image
|
||||
twitterSite: '', // i.e. @site - twitter profile of the site
|
||||
twitterCreator: '', // i.e. @author - twitter profile of the site
|
||||
mastodonProfile: '' // i.e. https://front-end.social/@lene - url to your mastodon instance/profile
|
||||
|
|
|
|||
|
|
@ -44,6 +44,11 @@
|
|||
{% else %}{{ meta.meta_data.opengraph_default }}
|
||||
{% endif %}"
|
||||
/>
|
||||
<meta
|
||||
property="og:image:alt"
|
||||
content="{% if (layout == 'post') %}{% else %}{{ meta.meta_data.opengraph_default_alt }}
|
||||
{% endif %}"
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content="{% if description %}{{ description }}{% else %}{{
|
||||
|
|
|
|||
Loading…
Reference in a new issue