I am using this template for my thesis, which provides a table of contents that includes only the list of figures and list of tables before the main chapters.
Ideally, I would also like to add the table of contents itself, the acknowledgements, the declaration and the dedication pages which I have partially achieved as seen on the attached image.
However, I experience the following problem when using the command
where chapter_name = Abstract, Declaration, etc.
to generate these listings:
While the page numbers depicted are correct, when I click on them they redirect me one or two pages earlier than the displayed number, depending whether there is a blink page between the chapters or not.
Also, how can I add the table of contents listed as well?
\phantomsection% command slightly fixes the issue but still redirects me to the blank page that is between the chapters.
EDIT 2: I managed to add the table of contents too but still having the same problem of redirection.