Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit b4b353a

Browse files
authored
Fix typo
1 parent 0797271 commit b4b353a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Creating a website with Ktor/04_homepage_with_freemarker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you'd like to learn more about FreeMarker's syntax, check out [their official
6969

7070
### Defining a model for the journal entries
7171

72-
As defined by our usage in the FreeMarker template, the `BlogEntry` class needs to attributes: a `headline` and a `body`, both of type `String`. Let's create a file named `BlogEntry.kt` next to `Application.kt`, and fill it with the corresponding Kotlin data class, which can then be injected into the template:
72+
As defined by our usage in the FreeMarker template, the `BlogEntry` class needs two attributes: a `headline` and a `body`, both of type `String`. Let's create a file named `BlogEntry.kt` next to `Application.kt`, and fill it with the corresponding Kotlin data class, which can then be injected into the template:
7373

7474
```kotlin
7575
package com.jetbrains.handson.website
@@ -103,4 +103,4 @@ We can now run the application. Opening [`http://localhost:8080/`](http://localh
103103

104104
![FreeMarker Browser Output](./assets/main_page.png)
105105

106-
Looks like our display logic is working just fine! Now, we only need to make the "Submit" button work, and we'll be able to view and add new entries for our journal!
106+
Looks like our display logic is working just fine! Now, we only need to make the "Submit" button work, and we'll be able to view and add new entries for our journal!

0 commit comments

Comments
 (0)