diff --git a/challenger/src/main/java/uk/co/compendiumdev/challenge/gui/ChallengerWebGUI.java b/challenger/src/main/java/uk/co/compendiumdev/challenge/gui/ChallengerWebGUI.java index 449da332..362530af 100644 --- a/challenger/src/main/java/uk/co/compendiumdev/challenge/gui/ChallengerWebGUI.java +++ b/challenger/src/main/java/uk/co/compendiumdev/challenge/gui/ChallengerWebGUI.java @@ -312,7 +312,7 @@ public void setup(final Challengers challengers, continue; } - if(line.contains(" = ") && state.equals("READING_HEADER")){ + if(line.contains(": ") && state.equals("READING_HEADER")){ mdheaders.add(line); continue; } @@ -345,8 +345,8 @@ public void setup(final Challengers challengers, java.nio.charset.StandardCharsets.UTF_8.toString()); for(String aHeader : mdheaders){ - if(aHeader.startsWith("title = ")){ - pageTitle = aHeader.replace("title = " , ""); + if(aHeader.startsWith("title: ")){ + pageTitle = aHeader.replace("title: " , ""); } } diff --git a/challenger/src/main/resources/content/apichallenges.md b/challenger/src/main/resources/content/apichallenges.md index 6391bd8b..973a2775 100644 --- a/challenger/src/main/resources/content/apichallenges.md +++ b/challenger/src/main/resources/content/apichallenges.md @@ -1,5 +1,5 @@ --- -title = API Challenges Documentation +title: API Challenges Documentation --- # API Challenges diff --git a/challenger/src/main/resources/content/apichallenges/howto.md b/challenger/src/main/resources/content/apichallenges/howto.md index 6da959fe..8f79e8ca 100644 --- a/challenger/src/main/resources/content/apichallenges/howto.md +++ b/challenger/src/main/resources/content/apichallenges/howto.md @@ -1,5 +1,5 @@ --- -title = API Challenges Solution Index +title: API Challenges Solution Index --- # API Challenge Solutions diff --git a/challenger/src/main/resources/content/apichallenges/howto/get-challenges-200.md b/challenger/src/main/resources/content/apichallenges/howto/get-challenges-200.md index 3b9e338d..429124ee 100644 --- a/challenger/src/main/resources/content/apichallenges/howto/get-challenges-200.md +++ b/challenger/src/main/resources/content/apichallenges/howto/get-challenges-200.md @@ -1,5 +1,5 @@ --- -title = API Challenges Solution For - GET Challenges (200) +title: API Challenges Solution For - GET Challenges (200) --- How to complete the challenge `GET /challenges 200`. diff --git a/challenger/src/main/resources/content/apichallenges/howto/get-todos-200.md b/challenger/src/main/resources/content/apichallenges/howto/get-todos-200.md index a5226586..7b326b53 100644 --- a/challenger/src/main/resources/content/apichallenges/howto/get-todos-200.md +++ b/challenger/src/main/resources/content/apichallenges/howto/get-todos-200.md @@ -1,5 +1,5 @@ --- -title = API Challenges Solution For - GET Todos (200) +title: API Challenges Solution For - GET Todos (200) --- How to complete the challenge `GET /todos 200`. diff --git a/challenger/src/main/resources/content/apichallenges/howto/post-challenger-201.md b/challenger/src/main/resources/content/apichallenges/howto/post-challenger-201.md index 2c38c531..44f76eb7 100644 --- a/challenger/src/main/resources/content/apichallenges/howto/post-challenger-201.md +++ b/challenger/src/main/resources/content/apichallenges/howto/post-challenger-201.md @@ -1,5 +1,5 @@ --- -title = API Challenges Solution For - POST Challenger (201) +title: API Challenges Solution For - POST Challenger (201) --- # POST Challenger 201 Solution diff --git a/challenger/src/main/resources/content/learning.md b/challenger/src/main/resources/content/learning.md index 6e7d297a..e2631f33 100644 --- a/challenger/src/main/resources/content/learning.md +++ b/challenger/src/main/resources/content/learning.md @@ -1,5 +1,5 @@ --- -title = Learning Utilities and Resources +title: Learning Utilities and Resources --- # Learning diff --git a/challenger/src/main/resources/content/sponsors.md b/challenger/src/main/resources/content/sponsors.md index d5b370e4..69750fc3 100644 --- a/challenger/src/main/resources/content/sponsors.md +++ b/challenger/src/main/resources/content/sponsors.md @@ -1,5 +1,5 @@ --- -title = Sponsors of API Challenges +title: Sponsors of API Challenges --- # Support and Sponsorship diff --git a/challenger/src/main/resources/content/test.md b/challenger/src/main/resources/content/test.md index 4f5f159c..38c2d476 100644 --- a/challenger/src/main/resources/content/test.md +++ b/challenger/src/main/resources/content/test.md @@ -1,5 +1,5 @@ --- -title = 123 +title: 123 --- # Test