Cosmetic changes.
This commit is contained in:
parent
81f7feb044
commit
e65fb77722
|
@ -35,8 +35,8 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
{
|
{
|
||||||
out << "= Visited things\n"
|
out << "= Visited things\n"
|
||||||
<< ":Author: remwharead " << global::version << endl
|
<< ":Author: remwharead " << global::version << endl
|
||||||
<< ":Date: " << timepoint_to_string(system_clock::now()) << endl
|
<< ":Date: " << timepoint_to_string(system_clock::now()) << endl
|
||||||
<< ":toc: right" << endl
|
<< ":toc: right" << endl
|
||||||
// << ":toc-title:" << endl
|
// << ":toc-title:" << endl
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
day = newday;
|
day = newday;
|
||||||
out << "== " << day << endl << endl;
|
out << "== " << day << endl << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
out << "[[dt" << datetime << "]]\n";
|
out << "[[dt" << datetime << "]]\n";
|
||||||
out << ".link:" << entry.uri;
|
out << ".link:" << entry.uri;
|
||||||
if (!entry.title.empty())
|
if (!entry.title.empty())
|
||||||
|
@ -63,6 +64,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
out << "[]";
|
out << "[]";
|
||||||
}
|
}
|
||||||
out << endl;
|
out << endl;
|
||||||
|
|
||||||
out << '_' << time << '_';
|
out << '_' << time << '_';
|
||||||
for (const string &tag : entry.tags)
|
for (const string &tag : entry.tags)
|
||||||
{
|
{
|
||||||
|
@ -93,6 +95,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
out << " (" << entry.archive_uri << "[archived version])\n";
|
out << " (" << entry.archive_uri << "[archived version])\n";
|
||||||
}
|
}
|
||||||
out << endl;
|
out << endl;
|
||||||
|
|
||||||
if (!entry.description.empty())
|
if (!entry.description.empty())
|
||||||
{
|
{
|
||||||
out << entry.description << endl << endl;
|
out << entry.description << endl << endl;
|
||||||
|
|
Loading…
Reference in New Issue