summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r--cpp/src/slice2html/Gen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 20d9f219684..c663b49bc48 100644
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -678,6 +678,7 @@ Slice::GeneratorBase::printHeaderFooter(const ContainedPtr& c)
indexImage = "<img class=\"Button\" src=\"" + path + indexImage + "\" alt=\"Index\"/>";
}
+ _out << nl << "<!-- SwishCommand noindex -->";
start("div", "HeaderFooter");
start("table", "ButtonTable");
@@ -743,6 +744,8 @@ Slice::GeneratorBase::printHeaderFooter(const ContainedPtr& c)
printLogo(c, container, onEnumPage);
+ _out << nl << "<!-- SwishCommand index>";
+
end();
}
@@ -1528,6 +1531,7 @@ Slice::StartPageGenerator::~StartPageGenerator()
printHeaderFooter();
+ _out << nl << "<!-- SwishCommand noindex -->";
_out << nl << "<hr>";
start("h1");