Skip to content

Commit

Permalink
Fix issue 229. (#300)
Browse files Browse the repository at this point in the history
- use gitHostingService.name instead of implicit toString conversion
  • Loading branch information
kczulko authored and juanpedromoreno committed Feb 24, 2019
1 parent 0773893 commit 25159d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/microsites/layouts/HomeLayout.scala
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class HomeLayout(config: MicrositeSettings) extends Layout(config) {
a(
href := config.gitSiteUrl,
cls := "btn btn-outline-inverse",
s"View on ${config.gitSettings.gitHostingService}"))
s"View on ${config.gitSettings.gitHostingService.name}"))
)
),
"{% include menu.html %}"
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/microsites/layouts/Layout.scala
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ abstract class Layout(config: MicrositeSettings) {
a(
href := config.gitSiteUrl,
span(cls := s"fa ${config.gitHostingIconClass}"),
s"View on ${config.gitSettings.gitHostingService}"))
s"View on ${config.gitSettings.gitHostingService.name}"))
)
) +: {
config.templateTexts.footer match {
Expand Down

0 comments on commit 25159d8

Please sign in to comment.