Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/core/render/tpl.js
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
import { isMobile } from '../util/env';
/**
* Render github corner
* @param {Object} data URL for the View Source on Github link
Expand DownExpand Up@@ -51,9 +50,8 @@ export function main(config) {
: '') +
'<div class="sidebar-nav"><!--sidebar--></div>' +
'</aside>';

return (
(isMobile ? `${aside}<main>` : `<main>${aside}`) +
`<main>${aside}` +
'<section class="content">' +
'<article class="markdown-section" id="main"><!--main--></article>' +
'</section>' +
Expand Down