From fe6501ec7ae2db67507c08638e0bfb99fdb866e8 Mon Sep 17 00:00:00 2001 From: a74589669 <290198252@qq.com> Date: Mon, 30 Sep 2019 22:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5markdown-latex=E6=B8=AC?= =?UTF-8?q?=E8=A9=A6=EF=BC=8C=E5=90=8E=E6=9C=9F=E5=8A=A0=E5=85=A5=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=BF=9B=E8=A1=8C=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Controllers/Home.php | 2 +- App/Views/base.html | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/App/Controllers/Home.php b/App/Controllers/Home.php index 9404275..dea0897 100644 --- a/App/Controllers/Home.php +++ b/App/Controllers/Home.php @@ -28,7 +28,7 @@ class Home extends \Core\Controller } public function renderAction() { - View::renderTemplate("/Home/index.html",[]); + View::renderTemplate("/base.html",[]); } public function docsAction(){ $docs = new Models\Doc(); diff --git a/App/Views/base.html b/App/Views/base.html index cc03852..399b862 100644 --- a/App/Views/base.html +++ b/App/Views/base.html @@ -1,11 +1,15 @@ - + + + {% block title %}{% endblock %} - shit! +When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are +$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ {% block body %} {% endblock %}