Skip to content

Commit ec89296

Browse files
author
Luis Orta
committed
Changed my mind, I want it at the top of all the pages.
1 parent c52876b commit ec89296

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

CodersUnite/index.html.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
Set-Location $PSScriptRoot
22
$title = "Coders Unite!"
3-
@"
4-
<svg>
5-
$((Get-Content -Path .\Assets\CodersUnite.svg -Raw) -replace '<\?.+>')
6-
</svg>
7-
<a href="https://github.com/CodersUnite-org/CodersUnite">
8-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="foreground-stroke"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
9-
</a>
10-
"@
113
(ConvertFrom-Markdown -Path .\Content\About.md).html

CodersUnite/layout.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ pre, code {
3535
)
3636
</head>
3737
<body>
38+
39+
<a href="https://codersunite.org">
40+
<svg>
41+
$((Get-Content -Path .\Assets\CodersUnite.svg -Raw) -replace '<\?.+>')
42+
</svg>
43+
</a>
44+
<a href="https://github.com/CodersUnite-org/CodersUnite">
45+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="foreground-stroke"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
46+
</a>
3847
$($argsAndinput -join [Environment]::NewLine)
3948
<script>hljs.highlightAll();</script>
4049
</body>

0 commit comments

Comments
 (0)