sync: include headline in exercice overview, as it is difficult to retrieve otherwise
This commit is contained in:
parent
99024ee5ce
commit
deb12052b5
2 changed files with 5 additions and 7 deletions
|
@ -61,9 +61,6 @@ func SyncExercices(i Importer, theme fic.Theme) []string {
|
|||
}
|
||||
ovrvw := strings.Split(overview, "\n")
|
||||
headline := ovrvw[0]
|
||||
if len(ovrvw) > 1 {
|
||||
overview = strings.Join(ovrvw[1:], "\n")
|
||||
}
|
||||
|
||||
statement, err := getFileContent(i, path.Join(theme.Path, edir, "statement.txt"))
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue