diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 26e42f0..49e26f3 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -33,7 +33,7 @@ $secondary-dark: darken($secondary, 15%) $link: $secondary-dark $code: $primary $code-background: $white-bis -$section-padding: 3rem 1.5rem +$section-padding: 1.5rem //$input-color: $white //$input-background-color: lighten($primary, 10%) //$input-border-color: lighten($primary, 10%) @@ -323,3 +323,6 @@ a > .fa-external-link-alt::before .hero__author, .hero__blurb a @extend .has-text-secondary + +.page-github-buttons + float: right diff --git a/layouts/partials/docs/article.html b/layouts/partials/docs/article.html index 6345009..f3faabd 100644 --- a/layouts/partials/docs/article.html +++ b/layouts/partials/docs/article.html @@ -1,4 +1,3 @@ -{{ $title := .Title }} {{ $desc := .Params.description }} {{ $source := printf "https://github.com/grpc/grpc.io/tree/%s/content/%s" $.Site.Params.branch .File.Path }} @@ -13,32 +12,23 @@ - {{ .Title }} - - - {{ with $desc }} - - {{ . }} - - {{ end }} - - - - - - + {{- .Title -}} + + - - - Source - - - + + + + {{ with $desc -}} + + {{- . -}} + + {{ end -}} + - {{ partial "content.html" (dict "content" .Content "constrained" true) }}
- {{ .Title }} -
- {{ . }} -
+ {{- . -}} +