Была бы просто опечатка, разобрался бы сам.
const handler = handlePasteImage.bind(null, whatever);
addEventListener('paste', handler, { capture: true, });
const handler = {
whatever: whatever,
handleEvent(event) {
handlePasteImage(event, this.whatever);
},
};
addEventListener('paste', handler, { capture: true, });
archive-universities_page.php
из темыsingle-universities_page.php
из темы:- add_rewrite_rule('([^/]+)/([^/]+)/([^/]+)/?$', 'index.php?post_type=universities_page&country=$matches[1]&city=$matches[2]&university=$matches[3]', 'top');
+ add_rewrite_rule('([^/]+)/([^/]+)/([^/]+)/?$', 'index.php?post_type=universities_page&country=$matches[1]&city=$matches[2]&slug=$matches[3]', 'top');
university
:- add_rewrite_rule('([^/]+)/([^/]+)/([^/]+)/?$', 'index.php?post_type=universities_page&country=$matches[1]&city=$matches[2]&university=$matches[3]', 'top');
+ add_rewrite_rule('([^/]+)/([^/]+)/([^/]+)/?$', 'index.php?page_id='.get_page_by_path('university')->ID.'&country=$matches[1]&city=$matches[2]&university=$matches[3]', 'top');
И перезапить двух txt файлов в DNS на поддомене _acme-challenge.название-сайта.ru
certbot certonly --manual \
--preferred-challenges dns \
--manual-auth-hook $prefix/dns-add.sh \
--manual-cleanup-hook $prefix/dns-del.sh \
--deploy-hook $prefix/deploy.sh \
-d ...
nsupdate -k $dnsKey <<COMMANDS
;debug
server $master
add $targetRecord 60 TXT "$CERTBOT_VALIDATION"
send
COMMANDS
height: calc(100% - 3em)
для .login
, где 3em высота .heading-container
.heading-container
position: sticky
, то он занимает место в потоке контента (content-flow) и его высоту нужно вычитать для занятия оставшегося места, ну или воспользоваться другими техниками вроде гридов или флексов - statements[line_no] = .{ .content = line.items[(i + 1)..] };
+ statements[line_no] = .{ .content = try allocator.dupe(u8, line.items[(i + 1)..]) };