Simplify privacy policy generation

pull/214/head
M66B 9 months ago
parent be6d8e1eb3
commit ae926d869f

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

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

@ -13,8 +13,15 @@
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
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">
<style>
body { font-family: Arial, sans-serif; }
.table-wrapper { overflow-x: auto; white-space: nowrap; }
table { border-collapse: collapse; }
table colgroup col { width: auto !important; }
table, th, td { border: 1px solid black; }
td { padding: 3px; }
</style>
</head>
<body>
<header id="title-block-header">

@ -1,24 +0,0 @@
body {
font-family: Arial, sans-serif;
}
.table-wrapper {
overflow-x: auto;
white-space: nowrap;
}
table {
border-collapse: collapse;
}
table colgroup col {
width: auto !important;
}
table, th, td {
border: 1px solid black;
}
td {
padding: 3px;
}

@ -0,0 +1,12 @@
---
header-includes: |
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png">
<style>
body { font-family: Arial, sans-serif; }
.table-wrapper { overflow-x: auto; white-space: nowrap; }
table { border-collapse: collapse; }
table colgroup col { width: auto !important; }
table, th, td { border: 1px solid black; }
td { padding: 3px; }
</style>
---
Loading…
Cancel
Save