Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperkha committed Dec 3, 2024
1 parent a0c8ce9 commit a70b8a6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
all:
rm -rf index.html src/*.html
python3 scripts/generate_pages.py
python3 scripts/generate_pages.py

push: all
git add .
git commit -m "build"
git push origin main
2 changes: 2 additions & 0 deletions pages/test.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This is a test page

Testing testing 123...

[this is a link](test.md)
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index</title>
<link rel="stylesheet" href="templates/theme.css" />
<link rel="stylesheet" href="templates/global.css" />
<link rel="stylesheet" href="../templates/theme.css" />
<link rel="stylesheet" href="../templates/global.css" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down
5 changes: 3 additions & 2 deletions src/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Test</title>
<link rel="stylesheet" href="templates/theme.css" />
<link rel="stylesheet" href="templates/global.css" />
<link rel="stylesheet" href="../templates/theme.css" />
<link rel="stylesheet" href="../templates/global.css" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand All @@ -25,6 +25,7 @@
</div>
<h1>This is a test page</h1>
<p>Testing testing 123...</p>
<p><a href="test.html">this is a link</a></p>

</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{NAME}</title>
<link rel="stylesheet" href="templates/theme.css" />
<link rel="stylesheet" href="templates/global.css" />
<link rel="stylesheet" href="../templates/theme.css" />
<link rel="stylesheet" href="../templates/global.css" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down

0 comments on commit a70b8a6

Please sign in to comment.