Skip to content

Commit

Permalink
talk about starter rather than template
Browse files Browse the repository at this point in the history
  • Loading branch information
aloxe committed Dec 20, 2024
1 parent 501b5b6 commit 982ce7f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pages/documentation/cms.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ismarkdown: true

I tried a few CMS for eleventy but the only that do not require an extra account other that the git repository system (Forgejo, gitlab or github) are [Decap CMS](https://decapcms.org/) and its recent fork [Sveltia CMS](https://github.com/sveltia/sveltia-cms). This last CMS is my choice because it looks promising with a better UX a a clear roadmap.

Nevertheless, Decap CMS still offers more functionalities that can also be useful, like an editorial workflow or image integration in the editor. For this reason, I chose to leave both CMS in this template for now. This may help you to choose the one you keep.
Nevertheless, Decap CMS still offers more functionalities that can also be useful, like an editorial workflow or image integration in the editor. For this reason, I chose to leave both CMS in this starter for now. This may help you to choose the one you keep.

Sveltia CMS is available under `https://aloxe.github.io/huwindty/svetlia` and Decap CMS is available under `https://aloxe.github.io/huwindty/decap/`. both use the same config that is maintained in `_assets/public/admin/config.yml`.

Expand Down
4 changes: 2 additions & 2 deletions src/pages/documentation/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ismarkdown: true
---
## Image location

With the huwindty template, images are stored within the content (after all, images are content too). They can be added in any folder and their url will always relative the `pages` folder which is the root folder.
With the huwindty starter, images are stored within the content (after all, images are content too). They can be added in any folder and their url will always relative the `pages` folder which is the root folder.

For example, the image below (`boat.jpg`) is located in the `/src/pages/documentation/` folder and is used by a page in the same folder. The url used to show it on the page will be `/documentation/boat.jpg`. Always use an absolute url for the image source (starting with a `/`).

Expand Down Expand Up @@ -93,7 +93,7 @@ The makrdown example above shows you how to add this class to an image in markdo

## Images in CMS

This template comes with a [simple CMS](../cms/) that allows you to add, remove and update pages and media. Images in Svetlia CMS can be added in two ways:
This starter comes with a [simple CMS](../cms/) that allows you to add, remove and update pages and media. Images in Svetlia CMS can be added in two ways:
- in a dedicated media folder making all images available in all pages
- in the folder of the current page where images are not reusable in other pages

Expand Down
2 changes: 1 addition & 1 deletion src/pages/documentation/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ Markdown is not known to be flexible with styling images, but you find a workaro

### Responsive images

A specific chapter on responsive images explains how this template manages [responsive images](/documentation/images/).
A specific chapter on responsive images explains how this 11ty starter manages [responsive images](/documentation/images/).
4 changes: 2 additions & 2 deletions src/pages/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Huwindty 🌬️
subtitle: A basic template using 11ty with Tailwind.
description: The basic 11ty template windty with a few upgrades.
subtitle: A basic 11ty starter with CMS and more.
description: The basic 11ty template windty with a few upgrades. CMS, Markdown, responsive images are among them. All documented.
layout: base.njk
---
<div class="w-full sm:w-2/3 sm:p-4 md:border sm:border-black mx-auto">
Expand Down

0 comments on commit 982ce7f

Please sign in to comment.