319 lines
11 KiB
HTML
319 lines
11 KiB
HTML
<!DOCTYPE html>
|
||
<head>
|
||
{% block title %}
|
||
<title>在星河中</title>
|
||
{% endblock %}
|
||
|
||
{% block meta %}
|
||
<meta charset="utf-8"/>
|
||
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport'/>
|
||
<meta name="keywords" content="xiaoan的技术博客,记录学习笔记,分享、记录生活的小站"/>
|
||
<meta name="description" content="心之何如,有似万丈迷津,遥亘千里,其中并无舟子可渡人,除了自渡,他人爱莫能助。"/>
|
||
{% endblock %}
|
||
<!-- Google Font -->
|
||
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Source+Sans+Pro:400,600,700" rel="stylesheet">
|
||
|
||
<link href="/static/css/main.css" rel="stylesheet">
|
||
<!-- Font Awesome Icons -->
|
||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||
<!-- Main CSS -->
|
||
<link href="/static/css/main.css" rel="stylesheet"/>
|
||
<!-- CSS -->
|
||
{% block css %}{% endblock %}
|
||
</head>
|
||
<body>
|
||
<!--------------------------------------
|
||
NAVBAR
|
||
--------------------------------------->
|
||
<nav class="topnav navbar navbar-expand-lg navbar-light bg-white fixed-top">
|
||
<div class="container">
|
||
<a class="navbar-brand" href="./index.html"><strong>{{site_title_first}}</strong></a>
|
||
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
|
||
<span class="navbar-toggler-icon"></span>
|
||
</button>
|
||
<div class="navbar-collapse collapse" id="navbarColor02" style="">
|
||
<ul class="navbar-nav mr-auto d-flex align-items-center">
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./index.html">首页 <span class="sr-only">(current)</span></a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./article.html">随感</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./article.html">社区</a>
|
||
</li>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./article.html">图床</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./article.html">生活</a>
|
||
<li class="nav-item dropdown">
|
||
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||
技术
|
||
</a>
|
||
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||
<a class="dropdown-item" href="#">C++</a>
|
||
<a class="dropdown-item" href="#">选项 2</a>
|
||
<a class="dropdown-item" href="#">选项 3</a>
|
||
</div>
|
||
</li>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./about.html">归档</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./article.html">留言板</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./about.html">灵感乍现</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./about.html">关于我</a>
|
||
</li>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./about.html"><span class="badge badge-dark">友链</span></a>
|
||
</li>
|
||
{% if user.is_authenticated %}
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="./about.html"><span class="badge badge-primary">后台管理</span></a>
|
||
</li>
|
||
{% endif %}
|
||
</ul>
|
||
{% if user.is_authenticated %}
|
||
<a><span class="badge">{{user.username}}</span></a>
|
||
{% else %}
|
||
<a><span class="badge">用户未登录,游客模式</span></a>
|
||
{% endif %}
|
||
<ul class="navbar-nav ml-auto d-flex align-items-center">
|
||
<li class="nav-item highlight">
|
||
{% if user.is_authenticated %}
|
||
<a class="nav-link" href="{% url 'logout_fun' %}?#">Logout</a>
|
||
{% else %}
|
||
<a class="nav-link" href="{% url 'login_jump' %}?#">Login</a>
|
||
{% endif %}
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
<!-- End Navbar -->
|
||
|
||
|
||
<!--------------------------------------
|
||
HEADER
|
||
--------------------------------------->
|
||
<div class="container">
|
||
<div class="jumbotron jumbotron-fluid mb-3 pt-0 pb-0 bg-lightblue position-relative">
|
||
<div class="pl-4 pr-0 h-100 tofront">
|
||
<div class="row justify-content-between">
|
||
<div class="col-md-6 pt-6 pb-6 align-self-center">
|
||
<h1 class="secondfont mb-3 font-weight-bold">{{site_title}}</h1>
|
||
<p class="mb-3">
|
||
{{site_one}}
|
||
</p>
|
||
<a href="./article.html" class="btn btn-dark">Read More</a>
|
||
</div>
|
||
<div class="col-md-6 d-none d-md-block pr-0" style="background-size:cover;background-image:url(/static/img/index/index.png);"> </div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- End Header -->
|
||
|
||
|
||
<!--------------------------------------
|
||
MAIN
|
||
--------------------------------------->
|
||
|
||
<div class="container pt-4 pb-4">
|
||
<div class="row">
|
||
<div class="col-lg-6">
|
||
<div class="card border-0 mb-4 box-shadow h-xl-300">
|
||
<div style="background-image: url(./assets/img/demo/1.jpg); height: 150px; background-size: cover; background-repeat: no-repeat;"></div>
|
||
<div class="card-body px-0 pb-0 d-flex flex-column align-items-start">
|
||
<h2 class="h4 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">Brain Stimulation Relieves Depression Symptoms</a>
|
||
</h2>
|
||
<p class="card-text">
|
||
Researchers have found an effective target in the brain for electrical stimulation to improve mood in people suffering from depression.
|
||
</p>
|
||
<div>
|
||
<small class="d-block"><a class="text-muted" href="./author.html">Favid Rick</a></small>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-lg-6">
|
||
<div class="flex-md-row mb-4 box-shadow h-xl-300">
|
||
<div class="mb-3 d-flex align-items-center">
|
||
<img height="80" src="./assets/img/demo/blog4.jpg">
|
||
<div class="pl-3">
|
||
<h2 class="mb-2 h6 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">Nasa's IceSat space laser makes height maps of Earth</a>
|
||
</h2>
|
||
<div class="card-text text-muted small">
|
||
Jake Bittle in LOVE/HATE
|
||
</div>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
</div>
|
||
<div class="mb-3 d-flex align-items-center">
|
||
<img height="80" src="./assets/img/demo/blog5.jpg">
|
||
<div class="pl-3">
|
||
<h2 class="mb-2 h6 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">Underwater museum brings hope to Lake Titicaca</a>
|
||
</h2>
|
||
<div class="card-text text-muted small">
|
||
Jake Bittle in LOVE/HATE
|
||
</div>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
</div>
|
||
<div class="mb-3 d-flex align-items-center">
|
||
<img height="80" src="./assets/img/demo/blog6.jpg">
|
||
<div class="pl-3">
|
||
<h2 class="mb-2 h6 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">Sun-skimming probe starts calling home</a>
|
||
</h2>
|
||
<div class="card-text text-muted small">
|
||
Jake Bittle in LOVE/HATE
|
||
</div>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="container">
|
||
<div class="row justify-content-between">
|
||
<div class="col-md-8">
|
||
<h5 class="font-weight-bold spanborder"><span>All Stories</span></h5>
|
||
<div class="mb-3 d-flex justify-content-between">
|
||
<div class="pr-3">
|
||
<h2 class="mb-1 h4 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">Nearly 200 Great Barrier Reef coral species also live in the deep sea</a>
|
||
</h2>
|
||
<p>
|
||
There are more coral species lurking in the deep ocean that previously thought.
|
||
</p>
|
||
<div class="card-text text-muted small">
|
||
Jake Bittle in SCIENCE
|
||
</div>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
<img height="120" src="./assets/img/demo/blog8.jpg">
|
||
</div>
|
||
<div class="mb-3 d-flex justify-content-between">
|
||
<div class="pr-3">
|
||
<h2 class="mb-1 h4 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">East Antarctica's glaciers are stirring</a>
|
||
</h2>
|
||
<p>
|
||
Nasa says it has detected the first signs of significant melting in a swathe of glaciers in East Antarctica.
|
||
</p>
|
||
<div class="card-text text-muted small">
|
||
Jake Bittle in SCIENCE
|
||
</div>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
<img height="120" src="./assets/img/demo/1.jpg">
|
||
</div>
|
||
<div class="mb-3 d-flex justify-content-between">
|
||
<div class="pr-3">
|
||
<h2 class="mb-1 h4 font-weight-bold">
|
||
<a class="text-dark" href="./article.html">50 years ago, armadillos hinted that DNA wasn’t destiny</a>
|
||
</h2>
|
||
<p>
|
||
Nasa says it has detected the first signs of significant melting in a swathe of glaciers in East Antarctica.
|
||
</p>
|
||
<div class="card-text text-muted small">
|
||
Jake Bittle in SCIENCE
|
||
</div>
|
||
<small class="text-muted">Dec 12 · 5 min read</small>
|
||
</div>
|
||
<img height="120" src="./assets/img/demo/5.jpg">
|
||
</div>
|
||
</div>
|
||
<div class="col-md-4 pl-4">
|
||
<h5 class="font-weight-bold spanborder"><span>Popular</span></h5>
|
||
<ol class="list-featured">
|
||
<li>
|
||
<span>
|
||
<h6 class="font-weight-bold">
|
||
<a href="./article.html" class="text-dark">Did Supernovae Kill Off Large Ocean Animals?</a>
|
||
</h6>
|
||
<p class="text-muted">
|
||
Jake Bittle in SCIENCE
|
||
</p>
|
||
</span>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
<h6 class="font-weight-bold">
|
||
<a href="./article.html" class="text-dark">Humans Reversing Climate Clock: 50 Million Years</a>
|
||
</h6>
|
||
<p class="text-muted">
|
||
Jake Bittle in SCIENCE
|
||
</p>
|
||
</span>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
<h6 class="font-weight-bold">
|
||
<a href="./article.html" class="text-dark">Unprecedented Views of the Birth of Planets</a>
|
||
</h6>
|
||
<p class="text-muted">
|
||
Jake Bittle in SCIENCE
|
||
</p>
|
||
</span>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
<h6 class="font-weight-bold">
|
||
<a href="./article.html" class="text-dark">Effective New Target for Mood-Boosting Brain Stimulation Found</a>
|
||
</h6>
|
||
<p class="text-muted">
|
||
Jake Bittle in SCIENCE
|
||
</p>
|
||
</span>
|
||
</li>
|
||
</ol>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!--------------------------------------
|
||
FOOTER
|
||
--------------------------------------->
|
||
<div class="container mt-5">
|
||
<footer class="bg-white border-top p-3 text-muted small">
|
||
<div class="row align-items-center justify-content-between">
|
||
<div>
|
||
<span class="navbar-brand mr-2"><strong>Mundana</strong></span> Copyright ©
|
||
<script>document.write(new Date().getFullYear())</script>
|
||
. All rights reserved.
|
||
</div>
|
||
<div>
|
||
Made with <a target="_blank" class="text-secondary font-weight-bold" href="https://www.wowthemes.net/mundana-free-html-bootstrap-template/">Mundana Theme</a> by WowThemes.net.
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
</div>
|
||
<!-- End Footer -->
|
||
|
||
<!--------------------------------------
|
||
JAVASCRIPTS
|
||
--------------------------------------->
|
||
<script src="/static/js/vendor/jquery.min.js" type="text/javascript"></script>
|
||
<script src="/static/js/vendor/popper.min.js" type="text/javascript"></script>
|
||
<script src="/static/js/vendor/bootstrap.min.js" type="text/javascript"></script>
|
||
<script src="/static/js/functions.js" type="text/javascript"></script>
|
||
<!-- JS -->
|
||
{% block js %}{% endblock %}
|
||
</body>
|
||
</html> |