The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/linuxcontainers.org/pull/301
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Wrapped the news date onto its own line so it does not wrap with the title. The normal font size was fine instead of using the small size. Fixes https://github.com/vanilla-framework/vanilla-framework/issues/1519
From cb35634e28e995db4440f6b61fa24e5fd33a8676 Mon Sep 17 00:00:00 2001 From: Anthony Dillon <[email protected]> Date: Wed, 17 Jan 2018 08:55:30 +0200 Subject: [PATCH] Wrapped news date onto its own line --- generate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate b/generate index f416253..4e58d09 100755 --- a/generate +++ b/generate @@ -380,9 +380,9 @@ def gen_page(entry, override, prefix, **variables): if "origin" in article: title = "<a href=\"%s\">%s</a>" % (article["origin"], title) - content += "\n\n\n## %s <span class=\"text-muted\">%s</span>\n" % \ + content += "\n\n\n## %s \n<span class=\"text-muted\">%s</span>\n" % \ (title, date.strftime("%%-d%s of %%B %%Y" % suffix)) - + content += article["content"] with open("/tmp/test.md", "w+") as fd:
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
