行頭で #contens を記述すると、見出しに基づいて目次を作成します。一般的に#contentsはページの最初のほうに記述します。
以上のように、#contents が #contens になっています。