Skip to content

Commit

Permalink
0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Aug 24, 2019
1 parent 327b886 commit 834104c
Show file tree
Hide file tree
Showing 349 changed files with 68,052 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
README.md
theme_update_info.json
56 changes: 56 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
<link href="<?php bloginfo('template_url'); ?>/assets/vendor/nucleo/css/nucleo.css" rel="stylesheet">
<link href="<?php bloginfo('template_url'); ?>/assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link type="text/css" href="<?php bloginfo('template_url'); ?>/assets/css/argon.min.css" rel="stylesheet">
<script src="<?php bloginfo('template_url'); ?>/assets/vendor/jquery/jquery.min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/vendor/bootstrap/bootstrap.min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/js/argon.min.js"></script>
<title>404 - 找不到页面</title>
</head>
<body>
<div class="position-relative">
<section class="section section-lg section-shaped pb-250" style="height: 100vh !important;">
<div class="shape shape-style-1 shape-default">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="container py-lg-md d-flex">
<div class="col px-0">
<div class="row">
<div class="col-lg-6 col-sm-12">
<div class="display-1 text-white">404</div>
<p class="lead text-white">You get lost.<br>这个页面不见了</p>
<div class="btn-wrapper">
<a href="javascript:window.history.back(-1);" ondragstart="return false;" class="btn btn-info btn-icon mb-3 mb-sm-0">
<span class="btn-inner--icon"><i class="fa fa-chevron-left"></i></span>
<span class="btn-inner--text">返回上一页</span>
</a>
<a href="<?php bloginfo('url'); ?>" class="btn btn-white btn-icon mb-3 mb-sm-0">
<span class="btn-inner--icon"><i class="fa fa-home"></i></span>
<span class="btn-inner--text">回到首页</span>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</body>
</html>

<style>
body{
overflow: hidden;
}
</style>
37 changes: 37 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?php get_header(); ?>

<div class="page-infomation-card card bg-gradient-secondary shadow-lg border-0">
<div class="card-body">
<h3 class="text-black"> <?php the_archive_title();?> </h3>
<?php if (the_archive_description() != ''){ ?>
<p class="text-black mt-3">
<?php the_archive_description(); ?>
</p>
<?php } ?>
<p class="text-black mt-3 mb-0 opacity-8">
<i class="fa fa-file-o mr-1"></i>
<?php echo $wp_query -> queried_object -> count; ?> 篇文章
</p>
</div>
</div>
<?php get_sidebar(); ?>

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
?>
<?php
echo get_argon_formatted_paginate_links();
?>
<?php
else :
get_template_part( 'template-parts/content', 'none-tag' );
endif;
?>

<?php get_footer(); ?>
Loading

0 comments on commit 834104c

Please sign in to comment.