Skip to content

Commit

Permalink
add-template
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertGallegoJimenez committed Nov 21, 2023
1 parent 972bb4b commit 2acc1d6
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gh-pages/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.jekyll-cache/
_site/
9 changes: 9 additions & 0 deletions gh-pages/404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "404"
excerpt: "Page Not Found"
permalink: 404.html
indexing: false
sitemap: false
---

Sorry, but the page could not be found.
13 changes: 13 additions & 0 deletions gh-pages/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
source "https://rubygems.org"

gem "jekyll", "~> 4.1"
gem "jekyll-sitemap", "~> 1.4.0"
gem "jekyll-mentions", "~> 1.6.0"
gem "jekyll-paginate", "~> 1.1.0"
gem "jekyll-seo-tag", "~> 2.6.1"
gem "jekyll-redirect-from", "~> 0.16"
gem "jekyll-feed", "~> 0.15"
gem "jekyll-commonmark", "~> 1.3.1"
gem "jekyll-include-cache", "~> 0.2"
gem "jemoji", "~> 0.12"
gem "jekyll-remote-theme", "~> 0.3"
9 changes: 9 additions & 0 deletions gh-pages/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Starter kit for [Alembic](https://alembic.darn.es/)

This is a very simple starting point if you wish to use Alembic [as a Jekyll theme gem](https://alembic.darn.es/#as-a-jekyll-theme) or as a [GitHub Pages remote theme](https://github.com/daviddarnes/alembic-kit/tree/remote-theme) (see `remote-theme` branch).

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/daviddarnes/alembic-kit)

or

**[Download the GitHub Pages kit](https://github.com/daviddarnes/alembic-kit/archive/remote-theme.zip)**
72 changes: 72 additions & 0 deletions gh-pages/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Set theme
remote_theme: daviddarnes/alembic@main

# File excludes
exclude:
- README.md
- Gemfile
- Gemfile.lock

# Set plugins
plugins:
- jekyll-sitemap
- jekyll-mentions
- jekyll-paginate
- jekyll-seo-tag
- jekyll-redirect-from
- jekyll-feed
- jekyll-commonmark
- jekyll-include-cache
- jemoji
- jekyll-remote-theme

# Site settings
url: 'https://mydomain.com'
baseurl: ''
title: 'My website'
description: 'This is my new website'
permalink: pretty
logo: "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=52"

# Pagination
paginate: 5
paginate_path: blog/page:num

# Header nav
navigation_header:
- title: Home
url: /
- title: About
url: /about/
- title: Blog
url: /blog/

# Footer nav
navigation_footer:
- title: Back to top
url: "#top"

# Collections
collections:
posts:
title: Posts
output: true
description: "My thoughts and ideas"
feature_text: |
Welcome to my blog
feature_image: "https://picsum.photos/2560/600?image=866"

# Collection settings
defaults:
-
scope:
path: ""
type: "posts"
values:
layout: post # Set the default layout for posts
-
scope:
path: ""
type: "pages"
values:
layout: page # Set the default layout for pages
8 changes: 8 additions & 0 deletions gh-pages/_posts/2018-08-22-hello-world.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Hello World
categories:
- General
feature_image: "https://picsum.photos/2560/600?image=872"
---

This is my very first blog post. I haven't written anything yet but I'm sure I have some great stories to tell.
5 changes: 5 additions & 0 deletions gh-pages/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: About this website
---

I'm not sure yet what this website is about, but I'm sure I'll work it out soon.
5 changes: 5 additions & 0 deletions gh-pages/blog/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: blog
collectionpage: posts
title: Blog
---
6 changes: 6 additions & 0 deletions gh-pages/categories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Categories
layout: categories
excerpt: "Category index"
aside: true
---
8 changes: 8 additions & 0 deletions gh-pages/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Welcome to my website
feature_image: "https://picsum.photos/1300/400?image=989"
feature_text: |
## Hello world
---

There isn't much going on here yet, but watch this space

0 comments on commit 2acc1d6

Please sign in to comment.