Probably possible in some way. Not sure exactly how to achieve it - especially the lazy load part. But what would be the sense of it as there could be quite A LOT of pages (profile pages of each user, group pages etc. etc.). Maybe it would rather make sense to customize the index page to include not all pages as such but the content you see as approapriate and/or important.
" Maybe it would rather make sense to customize the index page to include not all pages as such but the content you see as appropriate and/or important. "
you mean like elgg ? what a great idea ha ha ha !!
ignore me :/
Cloning the Aalborg theme plugin is not difficult. You would only need to change the 3 function names in start.php (instead of the aalborg_theme prefix you would use a prefix corresponding to the name you give your plugin) and change the name accordingly in start.php where these 3 functions are called. You would also change the folder name of views/default/aalborg_theme (and where this folder name is used in start.php in elgg_extend_view) and you would have to change the plugin folder name in views.php according to the name you give your plugin folder (corresponding to the name of your theme). Lastly, you would update name and id in manifest.xml. I think that's all. All the other files within the views folder should be plugin independent, i.e. mainly Elgg core views that the Aalborg theme modifies and overrides (and which you can modify then in the same manner).
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.