Skip to content

Commit

Permalink
update favicons and titles on sample pages
Browse files Browse the repository at this point in the history
  • Loading branch information
modularizer committed Oct 23, 2022
1 parent 363d98f commit 5b62f52
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 12 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,5 @@ Pyscript seems to be so focused on making web development "accessible" to Python
el.after(parent);
})
</script>
<script>
let sp = document.getElementById("stackplaceholder");
sp.pyprezEditor.code = "#python\n\nx=5\nprint(f'{x=}')"
</script>
</details>

Binary file modified sample_imgs/first.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion samples/console.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<title>PyPrez</title>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<link rel="icon" type="image/x-icon" href="../favicon.ico">
<script src="../pyprez.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion samples/editors.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>PyPrez</title>

<link rel="icon" type="image/x-icon" href="../favicon.ico">
<script src="../pyprez.js"></script>
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions samples/min.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>PyPrez</title>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<title>PyPrez Min</title>
<link rel="icon" type="image/x-icon" href="../favicon.ico">
</head>
<body>
<a href="https://github.com/modularizer/pyprez/samples/min.html">https://github.com/modularizer/pyprez/samples/min.html<a/>
Expand Down
3 changes: 2 additions & 1 deletion samples/namespaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PyPrez</title>
<title>PyPrez Namespaces</title>

<link rel="icon" type="image/x-icon" href="../favicon.ico">
<script src="../pyprez.js" showNamespaceSelect="true"></script>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions samples/pyprez.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<title>PyPrez</title>

<link rel="icon" type="image/x-icon" href="../favicon.ico">
<script src="../pyprez.js"></script>
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions samples/script.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>PyPrez</title>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<title>PyPrez Script Demo</title>
<link rel="icon" type="image/x-icon" href="../favicon.ico">
<script src="../pyprez.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion samples/stackconverter.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>PyPrez Stack Converter</title>
<script src="../pyprez.js"></script>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<link rel="icon" type="image/x-icon" href="../favicon.ico">
</head>
<body>
<a href="https://github.com/modularizer/pyprez/samples/stackconverter.html">https://github.com/modularizer/pyprez/samples/stackconverter.html<a/>
Expand Down

0 comments on commit 5b62f52

Please sign in to comment.