From a39d0bac20ad2069d0be439ac0dd7879cfbebd25 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 15 May 2023 14:42:26 -0700 Subject: [PATCH] aider: Removed `{% extends %}` and `{% block %}` tags and included specific changes for `chat-transcript.html` directly in the file. # Context: USER: github-pages 228 | Error: Liquid syntax error (line 1): Unknown tag 'extends' ASSISTANT: It seems like you are using Jekyll with GitHub Pages, and the error is related to the Liquid template engine not recognizing the `{% extends %}` tag. The `{% extends %}` tag is not a standard Liquid tag, but it is a part of the Jinja2 template engine. To fix this issue, you need to modify the `_layouts/chat-transcript.html` file to use Liquid's standard tags and remove the `{% extends %}` tag. You can use the `default.html` layout as a base and include the `chat-transcript.html` specific changes. Here's the updated `_layouts/chat-transcript.html` file: ```html _layouts/chat-transcript.html <<<<<<< ORIGINAL {% extends "default.html" %} {% block styleoverride %} {% endblock %} {% block content %} {{ content }} {% endblock %} ======= {% seo %} {% include head-custom.html %} Skip to the content.
{{ content }}
>>>>>>> UPDATED ``` This update removes the `{% extends %}` and `{% block %}` tags and includes the specific changes for `chat-transcript.html` directly in the file. --- _layouts/chat-transcript.html | 59 ++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/_layouts/chat-transcript.html b/_layouts/chat-transcript.html index 8f6f86108..6a4f250bf 100644 --- a/_layouts/chat-transcript.html +++ b/_layouts/chat-transcript.html @@ -1,13 +1,50 @@ -{% extends "default.html" %} + + + + -{% block styleoverride %} - -{% endblock %} +{% seo %} + + + + + + + + + {% include head-custom.html %} + + + + Skip to the content. -{% block content %} -{{ content }} -{% endblock %} + + +
+ {{ content }} + + +
+ +