Skip to content

Commit 54688a5

Browse files
committed
theming
1 parent 4018c18 commit 54688a5

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

.github/workflows/pages.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
JEKYLL_ENV: production
3636
run: bundle exec jekyll build
3737

38+
- name: Assert no GitHub Pages base path in output
39+
run: |
40+
if grep -R "/pages/${{ github.repository }}" _site; then
41+
echo "Unexpected '/pages/${{ github.repository }}' links found in _site output"
42+
exit 1
43+
fi
44+
3845
- name: Upload artifact
3946
if: github.event_name != 'pull_request'
4047
uses: actions/upload-pages-artifact@v3

.jekyll-metadata

-15.9 KB
Binary file not shown.

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Septimal Mind Blog
44
#theme: jekyll-theme-chirpy
55
remote_theme: abhinavs/moonwalk
66
url: https://blog.7mind.io/
7+
baseurl: ""
78
repository: 7mind/blog
89

910
#favicon: "./favicon.png"

_layouts/default.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ page.lang | default: "en" }}" class="html" data-theme="{{ site.theme_config.appearance | default: "auto" }}">
3+
{%- include head.html -%}
4+
<body>
5+
<main class="page-content" aria-label="Content">
6+
<div class="w">
7+
{{ content }}
8+
{% if site.theme_config.appearance_toggle %}
9+
{% include toggle_theme_button.html %}
10+
{% endif %}
11+
{% if site.theme_config.show_copyright == true %}
12+
<div class="credits">
13+
&copy;&nbsp;{{ "now" | date: "%Y" }}&nbsp;{{site.author}}
14+
</div>
15+
{% endif %}
16+
</div>
17+
</main>
18+
19+
{%- if site.soopr -%}
20+
{%- if site.soopr.publish_token and jekyll.environment == "production" -%}
21+
<script async defer data-soopr-token="{{site.soopr.publish_token}}" src="https://sdk.soopr.co/soopr.js"></script>
22+
{%- else -%}
23+
<script async defer src="https://sdk.soopr.co/soopr.js"></script>
24+
{%- endif -%}
25+
{%- endif -%}
26+
</body>
27+
</html>

0 commit comments

Comments
 (0)