-
Environment
Expected behaviorI copy over I can run and build it locally and the change works. Then I push it to github pages, view the commit here Actual behaviorPage doesn't build anymore and I get this build error:
I found this github issue but I don't really understand what it means:
Does this mean I can not overwrite any of the layouts? I want to tweak my minimal mistakes theme a bit, is this possible when using github pages or is this off limit? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Overriding <!-- <a href="{{ post.url | relative_url }}" rel="permalink">{{ title }} {% include date.html %}</a> --> Doesn't matter to Jekyll that you've commented it out in the HTML, you're trying to pull in Either rename it to |
Beta Was this translation helpful? Give feedback.
Overriding
_includes
works fine. The issue is this line in your_includes/archive-single.html
<!-- <a href="{{ post.url | relative_url }}" rel="permalink">{{ title }} {% include date.html %}</a> -->
Doesn't matter to Jekyll that you've commented it out in the HTML, you're trying to pull in
_includes/date.html
which doesn't exist in the theme nor in your local_includes
folder.Either rename it to
page__date.html
to use what's bundled in the theme, or create_includes/date.html
in your repo.