post/static/post/main.js
/**
 * Used for styling the featured articles aside of the latest one.
 * Add a div alongwith a class aside to the other two featured articles(apart from the latest).
 * The styling is done in CSS to place them alongside the latest one in small scale devices.
 */
Used for styling the featured articles aside of the latest one.
Add a div alongwith a class aside to the other two featured articles(apart from the latest).
The styling is done in CSS to place them alongside the latest one in small scale devices.
Used for styling the featured articles aside of the latest one . Add a div alongwith a class aside to the other two featured articles ( apart from the latest ) . The styling is done in CSS to place them alongside the latest one in small scale devices .
function addClassToAsideFeatured() {
    const div = document.createElement('div');
    div.className = 'aside';
    jq('.aside-featured').wrapAll(div);
}
function addClassToAsideFeatured ( ) { const div = document . createElement ( 'div' ) ; div . className = 'aside' ; jq ( '.aside-featured' ) . wrapAll ( div ) ; }
Used for styling the featured articles aside of the latest one.
Used for styling the featured articles aside of the latest one .