mirror of
https://github.com/cupcakearmy/liquet.git
synced 2024-12-23 00:26:25 +00:00
small improvements
This commit is contained in:
parent
941fe46d4d
commit
78f9874ace
@ -24,7 +24,7 @@ switch ($type) {
|
|||||||
?>
|
?>
|
||||||
<div id="home">
|
<div id="home">
|
||||||
<div class="flex container vertical middle" id="list-header">
|
<div class="flex container vertical middle" id="list-header">
|
||||||
<a class="gohome" href="<?= get_bloginfo('wpurl'); ?>">
|
<a class="gohome" href="<?= site_url(); ?>">
|
||||||
<span class="alt-font"><?= get_bloginfo('name'); ?></span>
|
<span class="alt-font"><?= get_bloginfo('name'); ?></span>
|
||||||
</a>
|
</a>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php $dir = get_bloginfo( 'template_directory' ) ?>
|
<?php $dir = get_template_directory_uri() ?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
@ -12,7 +12,7 @@ $tags = get_tags( [ 'orderby' => 'count', 'order' => 'desc' ] );
|
|||||||
</a>
|
</a>
|
||||||
<div class="flex container vertical middle" id="list-header">
|
<div class="flex container vertical middle" id="list-header">
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<a href="<?= get_bloginfo( 'wpurl' ); ?>">
|
<a href="<?= site_url(); ?>">
|
||||||
<h1><?= get_bloginfo( 'name' ); ?></h1>
|
<h1><?= get_bloginfo( 'name' ); ?></h1>
|
||||||
<h3><?= get_bloginfo( 'description' ); ?></h3>
|
<h3><?= get_bloginfo( 'description' ); ?></h3>
|
||||||
</a>
|
</a>
|
||||||
|
@ -6,7 +6,7 @@ function getNextURL( $next ) {
|
|||||||
$post = get_adjacent_post( false, '', ! $next, 'post_tag' );
|
$post = get_adjacent_post( false, '', ! $next, 'post_tag' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return ( $post ? get_permalink( $post->ID ) : get_bloginfo( 'wpurl' ) );
|
return ( $post ? get_permalink( $post->ID ) : site_url() );
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDates() {
|
function getDates() {
|
||||||
|
@ -14,12 +14,12 @@ $dates = getDates();
|
|||||||
<div class="flex item shrink" id="top">
|
<div class="flex item shrink" id="top">
|
||||||
<div class="flex container horizontal middle">
|
<div class="flex container horizontal middle">
|
||||||
<div class="flex item grow text-align-left" id="left">
|
<div class="flex item grow text-align-left" id="left">
|
||||||
<a href="<?= get_bloginfo( 'wpurl' ); ?>">
|
<a href="<?= site_url(); ?>">
|
||||||
<img src="<?= get_template_directory_uri() . '/vendor/icons/left.svg' ?>" alt="arrow back"/>
|
<img src="<?= get_template_directory_uri() . '/vendor/icons/left.svg' ?>" alt="arrow back"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex item shrink gohome" id="center">
|
<div class="flex item shrink gohome" id="center">
|
||||||
<a href="<?= get_bloginfo( 'wpurl' ); ?>">
|
<a href="<?= site_url(); ?>">
|
||||||
<span class="alt-font"><?= get_bloginfo( 'name' ); ?></span>
|
<span class="alt-font"><?= get_bloginfo( 'name' ); ?></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -28,7 +28,8 @@ $dates = getDates();
|
|||||||
$saved = get_option( 'website_url' );
|
$saved = get_option( 'website_url' );
|
||||||
if ( $saved ) : ?>
|
if ( $saved ) : ?>
|
||||||
<a href="<?= $saved; ?>" target="_blank">
|
<a href="<?= $saved; ?>" target="_blank">
|
||||||
<img class="reduce" src="<?= get_template_directory_uri() . '/vendor/logos/website.png' ?>" alt="website"/>
|
<img class="reduce" src="<?= get_template_directory_uri() . '/vendor/logos/website.png' ?>"
|
||||||
|
alt="website"/>
|
||||||
</a>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<a href="javascript:void(0);" onclick="window.toggleLights();">
|
<a href="javascript:void(0);" onclick="window.toggleLights();">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Theme Name: Liquet
|
Theme Name: Liquet
|
||||||
Author: Niccolo Borgioli
|
Author: Niccolo Borgioli
|
||||||
Description: Minimalistic clean theme
|
Description: Minimalistic clean theme
|
||||||
Version: 0.13
|
Version: 0.14
|
||||||
License: MIT
|
License: MIT
|
||||||
Tags: minimal, simple, typography, clean
|
Tags: minimal, simple, typography, clean
|
||||||
Author URI: https://nicco.io
|
Author URI: https://nicco.io
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel watch --no-hmr --no-source-maps -d liquet/dist ./src/js/index.js ./src/styles/index.styl",
|
"dev": "parcel watch --no-hmr --no-source-maps -d liquet/dist ./src/js/index.js ./src/styles/index.styl",
|
||||||
"build": "parcel build --no-source-maps -d liquet/dist ./src/js/index.js ./src/styles/index.styl"
|
"build": "rm -rf ./liquet/dist && parcel build --no-source-maps -d liquet/dist ./src/js/index.js ./src/styles/index.styl"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@swup/preload-plugin": "1.0.x",
|
"@swup/preload-plugin": "1.0.x",
|
||||||
|
Loading…
Reference in New Issue
Block a user