You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CUSTOMIZE.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ The project is structured as follows, focusing on the main components that you w
16
16
├── 📂 _bibliography/
17
17
│ └── 📄 papers.bib: bibliography in BibTeX format
18
18
├── 📂 _books/: contains the bookshelf pages
19
+
│ └── 📂 LANG/: must have one for each language defined in _config.yml
19
20
├── 📄 _config.yml: the configuration file of the template
20
21
├── 📂 _data/: contains some of the data used in the template
21
22
│ ├── 📂 LANG/: data for the LANG version. Must have one for each language defined in _config.yml
@@ -86,7 +87,7 @@ You can add news in the about page by adding new Markdown files in the [\_news/L
86
87
87
88
This Jekyll theme implements [collections](https://jekyllrb.com/docs/collections/) to let you break up your work into categories. The theme comes with three default collections: `news`, `projects`, and `books`. Items from the `news` collection are automatically displayed on the home page, while items from the `projects` collection are displayed on a responsive grid on projects page and items from the `books` collection are displayed on its own `bookshelf` page inside `submenus`.
88
89
89
-
You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. To do this, edit the collections in the [\_config.yml](_config.yml) file, create a corresponding folder, and create a landing page for your collection, similar to [\_pages/LANG/projects.md](_pages/en-us/projects.md).
90
+
You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. To do this, edit the collections in the [\_config.yml](_config.yml) file, create a corresponding folder, and create a landing page for your collection, similar to [\_pages/projects.md](_pages/projects.md).
90
91
91
92
If you wish to create a collection with support for categories and tags, like the blog posts, you just need to add this collection to the `jekyll-archives` section of your [\_config.yml](_config.yml) file. You can check how this is done with the `books` collection. For more information about customizing the archives section or creating your own archives page, check the [jekyll-archives-v2 documentation](https://george-gca.github.io/jekyll-archives-v2/).
92
93
@@ -174,7 +175,7 @@ Depending on your specified footer behavior, the sign up form either will appear
174
175
Since this template have a lot of content, you may want to remove some of it. The easiest way to achieve this and avoid merge conflicts when updating your code (as [pointed by CheariX ](https://github.com/alshedivat/al-folio/pull/2933#issuecomment-2571271117)) is to add the unwanted files to the `excludes` section in your `_config.yml` file instead of actually deleting them, for example:
- remove the `jekyll-archives` gem from the [Gemfile](Gemfile) and the `plugins` section in [\_config.yml](_config.yml)
204
+
- remove the `jekyll-archives-v2` gem from the [Gemfile](Gemfile) and the `plugins` section in [\_config.yml](_config.yml) (unless you have a custom collection that uses it)
204
205
- remove the `classifier-reborn` gem from the [Gemfile](Gemfile)
Copy file name to clipboardExpand all lines: INSTALL.md
+32-1Lines changed: 32 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
-[Local setup on Windows](#local-setup-on-windows)
7
7
-[Local setup using Docker (Recommended)](#local-setup-using-docker-recommended)
8
8
-[Build your own docker image](#build-your-own-docker-image)
9
+
-[Have Bugs on Docker Image?](#have-bugs-on-docker-image)
9
10
-[Local Setup with Development Containers](#local-setup-with-development-containers)
10
11
-[Local Setup (Legacy, no longer supported)](#local-setup-legacy-no-longer-supported)
11
12
-[Deployment](#deployment)
@@ -76,6 +77,36 @@ $ docker compose up --build
76
77
77
78
If you want to use a specific docker version, you can do so by changing `latest` tag to `your_version` in `docker-compose.yaml`. For example, you might have created your website on `v0.10.0` and you want to stick with that.
78
79
80
+
### Have Bugs on Docker Image?
81
+
82
+
Sometimes, there might be some bugs in the current docker image. It might be version mismatch or anything. If you want to debug and easily solve the problem for yourself you can do the following steps:
83
+
84
+
```
85
+
docker compose up -d
86
+
docker compose logs
87
+
```
88
+
89
+
Then you can see the bug! You can enter the container via this command:
90
+
91
+
```
92
+
docker compose exec -it jekyll /bin/bash
93
+
```
94
+
95
+
Then you can run the script:
96
+
97
+
```
98
+
./bin/entry_point.sh
99
+
```
100
+
101
+
You might see problems for package dependecy or something which is not available. You can fix it now by using
102
+
103
+
```
104
+
bundle install
105
+
./bin/entry_point.sh
106
+
```
107
+
108
+
Most likely, this will solve the problem but it shouldn't really happen. So, please open a bug report for us.
0 commit comments