diff options
-rw-r--r-- | content/assets/stylesheets/_variables.scss | 1 | ||||
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 6 | ||||
-rw-r--r-- | layouts/default.html | 6 |
3 files changed, 12 insertions, 1 deletions
diff --git a/content/assets/stylesheets/_variables.scss b/content/assets/stylesheets/_variables.scss index a0680c9b..978bf2ce 100644 --- a/content/assets/stylesheets/_variables.scss +++ b/content/assets/stylesheets/_variables.scss @@ -59,6 +59,7 @@ $color-gray: #777; $color-gray-medium: #ddd; $color-gray-light: #aaa; $color-gray-extra-light: #e7e7e7; +$color-light-gray: rgb(117, 117, 117); $color-green: #18be97; diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index 271f4bcf..dc47b778 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -1,7 +1,6 @@ --- version: 20 --- - @import "variables"; *, *::before, *::after { @@ -241,6 +240,11 @@ h6 { li { margin-top: 20px; } + + .last-updated { + color: $color-light-gray; + font-size: 13px; + } } } diff --git a/layouts/default.html b/layouts/default.html index b76b7152..389f511e 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -23,6 +23,12 @@ <div class="edit-on"> <%= edit_on_gitlab(@item) %> </div> + <hr> + <% if @item[:last_updated] %> + <p class="last-updated"> + <em>Last updated <%= @item[:last_updated] %></em> + </p> + <% end %> </div> <div class="clear"></div> </div> |