Improved layout of privacy policy

This commit is contained in:
M66B 2024-01-26 08:03:16 +01:00
parent ef2cb5d52f
commit 7f34d4f0a6
4 changed files with 3 additions and 1 deletions

View File

@ -400,7 +400,7 @@ tasks.register('updateFAQ', Exec) {
tasks.register('updatePrivacy', Exec) {
workingDir "${rootDir}"
commandLine 'sh', '-c', 'pandoc --standalone --metadata title="FairEmail" --css=privacy.css PRIVACY.md -o privacy.html'
commandLine 'sh', '-c', 'pandoc --standalone --metadata title="FairEmail" -H privacy/header.html --css=privacy.css PRIVACY.md -o privacy/index.html'
}
tasks.register('updateCrowdin', Exec) {

1
privacy/header.html Normal file
View File

@ -0,0 +1 @@
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png">

View File

@ -14,6 +14,7 @@
ul.task-list{list-style: none;}
</style>
<link rel="stylesheet" href="privacy.css" />
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png">
</head>
<body>
<header id="title-block-header">