From 0526a42efad1de64192676bb2e10c8b4c922a581 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 13 Nov 2025 19:14:01 +0000 Subject: [PATCH] changes to theme --- internal/website/_config.yml | 1 - internal/website/_layouts/default.html | 90 ++++++++++++++++++++++---- internal/website/index.html | 8 +-- 3 files changed, 83 insertions(+), 16 deletions(-) diff --git a/internal/website/_config.yml b/internal/website/_config.yml index c12d16a8..0b05d862 100644 --- a/internal/website/_config.yml +++ b/internal/website/_config.yml @@ -3,7 +3,6 @@ description: "A Go microservices framework" baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com -theme: jekyll-theme-primer # Enable syntax highlighting highlighter: rouge diff --git a/internal/website/_layouts/default.html b/internal/website/_layouts/default.html index fb8deceb..ef7f416f 100644 --- a/internal/website/_layouts/default.html +++ b/internal/website/_layouts/default.html @@ -5,14 +5,43 @@ {% if page.title %}{{ page.title }} | {% endif %}Go Micro Documentation @@ -27,8 +56,47 @@ Home -
- {{ content }} -
+
+ +
+ {{ content }} +
+
+ diff --git a/internal/website/index.html b/internal/website/index.html index da093d22..5af33c4c 100644 --- a/internal/website/index.html +++ b/internal/website/index.html @@ -14,10 +14,10 @@ margin: 25px; } .container { - max-width: 250px; - margin: 0 auto; - padding-top: 100px; - text-align: center; + max-width: 520px; + margin: 0 auto; + padding-top: 70px; + text-align: center; } a { color: black; text-decoration: none; font-weight: bold; padding: 10px;} pre { background: #f5f5f5; border-radius: 5px; padding: 10px;}