mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 23:32:51 +00:00
Simplify privacy policy generation
This commit is contained in:
parent
be6d8e1eb3
commit
ae926d869f
5 changed files with 21 additions and 27 deletions
|
@ -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;
|
||||
}
|
12
privacy/privacy.yaml
Normal file
12
privacy/privacy.yaml
Normal file
|
@ -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…
Reference in a new issue