Only my main page shows up on a Google search on site:domain.com and I start to wonder why this happens. I also use Google Webmaster Tools which confirms this.
On my main page, I have these types of links
<a href="1234/some-nice-seo-text" onclick="loadPageWithAjax(1234); return false;">
The 1234 is the id of the page to load and the '/some-nice-seo-text'-appended is just a good description of the content of the page, which I hope the Google-bot will catch. The intended user will click the link and the same content will dynamically be loaded and shown. It seems like the Google-bot never follows these links - am I doing something wrong?