mirror of
https://github.com/wassname/template.git
synced 2026-06-30 10:34:22 +08:00
Adding links to footer
This commit is contained in:
+19
-2
@@ -29,13 +29,30 @@ dt-footer .logo {
|
||||
text-decoration: none;
|
||||
margin-right: 6px;
|
||||
}
|
||||
dt-footer .nav {
|
||||
margin-top: 12px;
|
||||
}
|
||||
dt-footer .nav a {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
margin-right: 6px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="l-screen-inset">
|
||||
<div class="l-page">
|
||||
<div class="description">
|
||||
<a href="/" class="logo">
|
||||
${logo}
|
||||
Distill
|
||||
</a> is dedicated to clear explanations of machine learning
|
||||
</a>
|
||||
is dedicated to clear explanations of machine learning
|
||||
</div>
|
||||
<div class="nav">
|
||||
<a href="http://distill.pub/about/">About</a>
|
||||
<a href="http://distill.pub/journal/">Submit</a>
|
||||
<a href="http://distill.pub/prize/">Prize</a>
|
||||
<a href="http://distill.pub/rss.xml">RSS</a>
|
||||
<a href="https://twitter.com/distillpub">Twitter</a>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -8670,7 +8670,7 @@ var header = function(dom, data) {
|
||||
}
|
||||
};
|
||||
|
||||
var html$5 = "\n<style>\ndt-footer {\n display: block;\n color: rgba(255, 255, 255, 0.4);\n font-weight: 300;\n padding: 40px 0;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n background-color: hsl(200, 60%, 15%);\n text-align: center;\n}\ndt-footer .logo svg {\n width: 24px;\n position: relative;\n top: 4px;\n margin-right: 2px;\n}\ndt-footer .logo svg path {\n fill: none;\n stroke: rgba(255, 255, 255, 0.8);\n stroke-width: 3px;\n}\ndt-footer .logo {\n font-size: 17px;\n font-weight: 200;\n color: rgba(255, 255, 255, 0.8);\n text-decoration: none;\n margin-right: 6px;\n}\n</style>\n\n<div class=\"l-screen-inset\">\n <a href=\"/\" class=\"logo\">\n " + logo + "\n Distill\n </a> is dedicated to clear explanations of machine learning\n</div>\n";
|
||||
var html$5 = "\n<style>\ndt-footer {\n display: block;\n color: rgba(255, 255, 255, 0.4);\n font-weight: 300;\n padding: 40px 0;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n background-color: hsl(200, 60%, 15%);\n text-align: center;\n}\ndt-footer .logo svg {\n width: 24px;\n position: relative;\n top: 4px;\n margin-right: 2px;\n}\ndt-footer .logo svg path {\n fill: none;\n stroke: rgba(255, 255, 255, 0.8);\n stroke-width: 3px;\n}\ndt-footer .logo {\n font-size: 17px;\n font-weight: 200;\n color: rgba(255, 255, 255, 0.8);\n text-decoration: none;\n margin-right: 6px;\n}\ndt-footer .nav {\n margin-top: 12px;\n}\ndt-footer .nav a {\n color: rgba(255, 255, 255, 0.8);\n margin-right: 6px;\n}\n</style>\n\n<div class=\"l-page\">\n <div class=\"description\">\n <a href=\"/\" class=\"logo\">\n " + logo + "\n Distill\n </a>\n is dedicated to clear explanations of machine learning\n </div>\n <div class=\"nav\">\n <a href=\"http://distill.pub/about/\">About</a>\n <a href=\"http://distill.pub/journal/\">Submit</a>\n <a href=\"http://distill.pub/prize/\">Prize</a>\n <a href=\"http://distill.pub/rss.xml\">RSS</a>\n <a href=\"https://twitter.com/distillpub\">Twitter</a>\n </div>\n</div>\n";
|
||||
|
||||
var footer = function(dom, data) {
|
||||
var el = dom.querySelector("dt-footer");
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user