Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SummittDweller/1af7ecbb9051ee04d0a9dbad7f74c1e7 to your computer and use it in GitHub Desktop.
Save SummittDweller/1af7ecbb9051ee04d0a9dbad7f74c1e7 to your computer and use it in GitHub Desktop.
blog-eleventy-ghost Initial Setup Output
cd ~/GitHub
╭─mark@Marks-Mac-Mini ~/GitHub
╰─$ git clone https://github.com/TryGhost/eleventy-starter-ghost.git blog-eleventy-ghost
Cloning into 'blog-eleventy-ghost'...
remote: Enumerating objects: 774, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 774 (delta 5), reused 3 (delta 1), pack-reused 763
Receiving objects: 100% (774/774), 914.18 KiB | 3.94 MiB/s, done.
Resolving deltas: 100% (471/471), done.
╭─mark@Marks-Mac-Mini ~/GitHub
╰─$ cd blog-eleventy-ghost
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$ yarn
yarn install v1.22.19
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
✨ Done in 11.64s.
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$ yarn start
yarn run v1.22.19
$ yarn run dev
$ cross-env ELEVENTY_ENV=dev eleventy --serve
LazyImages - found 1 images in dist/404.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - found 15 images in dist/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/writing-posts-with-ghost.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/publishing-options.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/admin-settings.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/organising-your-content.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/app-integrations.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/creating-a-custom-theme.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
Writing dist/feed.xml from ./src/feed.njk.
Writing dist/_headers from ./src/headers.njk.
Writing dist/.htaccess from ./src/htaccess.njk.
Writing dist/_redirects from ./src/redirects.njk.
Writing dist/robots.txt from ./src/robots.njk.
Writing dist/sitemap.xml from ./src/sitemap.njk.
LazyImages - found 16 images in dist/author/ghost/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/writing-posts-with-ghost.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/publishing-options.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/admin-settings.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/organising-your-content.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/app-integrations.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/creating-a-custom-theme.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - found 4 images in dist/about/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - started processing https://eleventy.ghost.io/content/images/2019/07/ghost-headless-feature-image.png
LazyImages - started processing https://gatsby.ghost.io/content/images/2019/01/headless-ghost.png
LazyImages - started processing https://gatsby.ghost.io/content/images/2019/01/ghost-jamstack.png
LazyImages - found 15 images in dist/tag/getting-started/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/writing-posts-with-ghost.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/publishing-options.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/admin-settings.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/organising-your-content.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/app-integrations.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - started processing https://static.ghost.org/v2.0.0/images/creating-a-custom-theme.jpg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - found 2 images in dist/welcome/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - started processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - processed 1 images in dist/404.html
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - finished processing https://eleventy.ghost.io/content/images/2019/07/ghost-headless-feature-image.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/creating-a-custom-theme.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/writing-posts-with-ghost.jpg
LazyImages - finished processing https://gatsby.ghost.io/content/images/2019/01/headless-ghost.png
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/creating-a-custom-theme.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/creating-a-custom-theme.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/publishing-options.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/welcome-to-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/writing-posts-with-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/admin-settings.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/admin-settings.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/admin-settings.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/writing-posts-with-ghost.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/publishing-options.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/publishing-options.jpg
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - processed 2 images in dist/welcome/index.html
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/organising-your-content.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/organising-your-content.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/organising-your-content.jpg
LazyImages - finished processing https://gatsby.ghost.io/content/images/2019/01/ghost-jamstack.png
LazyImages - processed 4 images in dist/about/index.html
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/app-integrations.jpg
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/app-integrations.jpg
LazyImages - processed 16 images in dist/author/ghost/index.html
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/app-integrations.jpg
LazyImages - processed 15 images in dist/index.html
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/ghost-logo.svg
LazyImages - processed 15 images in dist/tag/getting-started/index.html
Writing dist/404.html from ./src/404.njk.
Writing dist/about/index.html from ./src/docs/docs.njk.
Writing dist/welcome/index.html from ./src/posts/posts.njk.
LazyImages - found 4 images in dist/the-editor/index.html
LazyImages - started processing https://static.ghost.org/v2.0.0/images/formatting-editor-demo.gif
LazyImages - started processing https://static.ghost.org/v2.0.0/images/using-images-demo.gif
Writing dist/index.html from ./src/index.njk.
Writing dist/tag/getting-started/index.html from ./src/tags/tags.njk.
Writing dist/author/ghost/index.html from ./src/authors/authors.njk.
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/formatting-editor-demo.gif
LazyImages - finished processing https://static.ghost.org/v2.0.0/images/using-images-demo.gif
LazyImages - processed 4 images in dist/the-editor/index.html
Writing dist/the-editor/index.html from ./src/posts/posts.njk.
LazyImages - found 2 images in dist/publishing-options/index.html
LazyImages - processed 2 images in dist/publishing-options/index.html
Writing dist/publishing-options/index.html from ./src/posts/posts.njk.
LazyImages - found 3 images in dist/admin-settings/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/private.png
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/private.png
LazyImages - processed 3 images in dist/admin-settings/index.html
Writing dist/admin-settings/index.html from ./src/posts/posts.njk.
LazyImages - found 2 images in dist/organising-content/index.html
LazyImages - processed 2 images in dist/organising-content/index.html
Writing dist/organising-content/index.html from ./src/posts/posts.njk.
LazyImages - found 2 images in dist/apps-integrations/index.html
LazyImages - processed 2 images in dist/apps-integrations/index.html
Writing dist/apps-integrations/index.html from ./src/posts/posts.njk.
LazyImages - found 3 images in dist/themes/index.html
LazyImages - started processing https://static.ghost.org/v1.0.0/images/marketplace.jpg
LazyImages - finished processing https://static.ghost.org/v1.0.0/images/marketplace.jpg
LazyImages - processed 3 images in dist/themes/index.html
Writing dist/themes/index.html from ./src/posts/posts.njk.
Wrote 18 files in 3.43 seconds (190.6ms each, v0.11.1)
Watching…
[Browsersync] Access URLs:
--------------------------------------
Local: http://localhost:8080
External: http://192.168.0.183:8080
--------------------------------------
UI: http://localhost:3001
UI External: http://localhost:3001
--------------------------------------
[Browsersync] Serving files from: dist
^C
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$ rm -fr .git
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost
╰─$ git init
Initialized empty Git repository in /Users/mark/GitHub/blog-eleventy-ghost/.git/
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main*›
╰─$ git add .
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main*›
╰─$ git commit -m "First commit"
[main (root-commit) ea50be4] First commit
42 files changed, 7391 insertions(+)
create mode 100644 .editorconfig
create mode 100644 .eleventy.js
create mode 100644 .env
create mode 100644 .eslintrc.js
create mode 100644 .github/ISSUE_TEMPLATE/--anything-else.md
create mode 100644 .github/ISSUE_TEMPLATE/--bug-report.md
create mode 100644 .github/workflows/test.yml
create mode 100644 .gitignore
create mode 100644 LICENSE
create mode 100644 README.md
create mode 100644 netlify.toml
create mode 100644 package.json
create mode 100644 renovate.json
create mode 100644 src/404.njk
create mode 100644 src/_data/site.js
create mode 100644 src/_includes/css/styles.css
create mode 100644 src/_includes/layouts/author.njk
create mode 100644 src/_includes/layouts/default.njk
create mode 100644 src/_includes/layouts/doc.njk
create mode 100644 src/_includes/layouts/post.njk
create mode 100644 src/_includes/layouts/tag.njk
create mode 100644 src/_includes/partials/author-header.njk
create mode 100644 src/_includes/partials/card.njk
create mode 100644 src/_includes/partials/footer.njk
create mode 100644 src/_includes/partials/header.njk
create mode 100644 src/_includes/partials/icon.njk
create mode 100644 src/_includes/partials/icons.njk
create mode 100644 src/_includes/partials/navigation.njk
create mode 100644 src/_includes/partials/pagination.njk
create mode 100644 src/authors/authors.njk
create mode 100644 src/docs/docs.njk
create mode 100644 src/feed.njk
create mode 100644 src/headers.njk
create mode 100644 src/htaccess.njk
create mode 100644 src/index.njk
create mode 100644 src/posts/posts.njk
create mode 100644 src/redirects.njk
create mode 100644 src/robots.njk
create mode 100644 src/sitemap.njk
create mode 100644 src/tags/tags.njk
create mode 100644 src/transforms/html-min-transform.js
create mode 100644 yarn.lock
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$ git branch -M main
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$ git remote add origin https://github.com/SummittDweller/blog-eleventy-ghost.git
git push -u origin main
Enumerating objects: 58, done.
Counting objects: 100% (58/58), done.
Delta compression using up to 6 threads
Compressing objects: 100% (49/49), done.
Writing objects: 100% (58/58), 108.35 KiB | 6.77 MiB/s, done.
Total 58 (delta 3), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (3/3), done.
To https://github.com/SummittDweller/blog-eleventy-ghost.git
* [new branch] main -> main
branch 'main' set up to track 'origin/main'.
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main›
╰─$
╭─mark@Marks-Mac-Mini ~/GitHub/blog-eleventy-ghost ‹main*›
╰─$ yarn start
yarn run v1.22.19
$ yarn run dev
$ cross-env ELEVENTY_ENV=dev eleventy --serve
LazyImages - found 1 images in dist/index.html
LazyImages - started processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
Writing dist/feed.xml from ./src/feed.njk.
Writing dist/404.html from ./src/404.njk.
Writing dist/_headers from ./src/headers.njk.
Writing dist/_redirects from ./src/redirects.njk.
Writing dist/robots.txt from ./src/robots.njk.
Writing dist/.htaccess from ./src/htaccess.njk.
Writing dist/sitemap.xml from ./src/sitemap.njk.
LazyImages - found 1 images in dist/coming-soon/index.html
LazyImages - started processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
LazyImages - found 1 images in dist/tag/news/index.html
LazyImages - started processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
LazyImages - found 1 images in dist/author/mark/index.html
LazyImages - started processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
Writing dist/about/index.html from ./src/docs/docs.njk.
LazyImages - finished processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
LazyImages - processed 1 images in dist/index.html
LazyImages - finished processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
LazyImages - processed 1 images in dist/coming-soon/index.html
LazyImages - finished processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
LazyImages - processed 1 images in dist/tag/news/index.html
LazyImages - finished processing https://static.ghost.org/v4.0.0/images/feature-image.jpg
LazyImages - processed 1 images in dist/author/mark/index.html
Writing dist/author/mark/index.html from ./src/authors/authors.njk.
Writing dist/tag/news/index.html from ./src/tags/tags.njk.
Writing dist/index.html from ./src/index.njk.
Writing dist/coming-soon/index.html from ./src/posts/posts.njk.
Wrote 12 files in 1.54 seconds (128.3ms each, v0.11.1)
Watching…
[Browsersync] Access URLs:
--------------------------------------
Local: http://localhost:8080
External: http://192.168.0.183:8080
--------------------------------------
UI: http://localhost:3001
UI External: http://localhost:3001
--------------------------------------
[Browsersync] Serving files from: dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment