How to show collection on frontend with pagination in Magento 2
Create routes.xml
Rsgitech\News\etc\frontend\routes.xml
Create Index.php Controller Action
Rsgitech\News\Controller\Index\Index.php
Create LinkNews.php Block
Rsgitech\News\Block\LinkNews.php
Get news link from system configuration
Create link.phtml Template File
Rsgitech\News\view\frontend\templates\link.phtml
Create default.xml Layout
Rsgitech\News\view\frontend\layout\default.xml
News link show in footer
Create ListNews.php Block
Rsgitech\News\Block\ListNews.php
Create listnews.phtml Template
Rsgitech\News\view\frontend\templates\listnews.phtml
Create news_index_index.xml Layout
Rsgitech\News\view\frontend\layout\news_index_index.xml
Create news_index_index.xml for display news listing
Create rsgitech.news.css CSS file
Rsgitech\News\view\frontend\web\css\rsgitech.news.css
Create css file for design