Skip to content

Commit

Permalink
try dirtier parsing trick
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Mar 3, 2024
1 parent 0c92f7e commit b47963a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
$env:YES_MAKE_TONS_OF_FOLDERS=1
./redirector.ps1
./buildMap.ps1
Get-ChildItem -File *.html -Recurse | ForEach-Object {
$content = Get-Content -Path $_.FullName
$content = $content -replace '<div class="md-copyright">', '<div class="md-copyright" style="display: none">'
$content = $content -replace '<div class="md-social">', '<div class="md-social" style="margin: auto;">'
$content = $content -replace 'class="md-copyright">', 'class="md-copyright" style="display: none">'
$content = $content -replace 'class="md-social">', 'class="md-social" style="margin: auto;">'
Set-Content -Path $_.FullName -Value $content
}
Expand Down

0 comments on commit b47963a

Please sign in to comment.